Merge pull request #6302 from Ansuel/uwsgi-su

uwsgi-cgi: improve uwsgi configuration
This commit is contained in:
Hannu Nyman
2018-06-17 12:42:32 +03:00
committed by GitHub
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=uwsgi-cgi PKG_NAME:=uwsgi-cgi
PKG_VERSION:=2.0.17 PKG_VERSION:=2.0.17
PKG_RELEASE:=4 PKG_RELEASE:=5
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/unbit/uwsgi PKG_SOURCE_URL:=https://github.com/unbit/uwsgi
+4 -2
View File
@@ -1,6 +1,5 @@
[uwsgi] [uwsgi]
stric = True stric = True
plugins = cgi
uwsgi_modifier1 = 9 uwsgi_modifier1 = 9
socket = /var/run/uwsgi.sock socket = /var/run/uwsgi.sock
cgi-mode = true cgi-mode = true
@@ -21,6 +20,9 @@ socket-timeout=120
thunder-lock = True thunder-lock = True
logger = syslog:uwsgi logger = syslog:uwsgi
daemonize = True daemonize = True
disable-logging = True
log-format = %(addr) %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs log-format = %(addr) %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs
pidfile=/var/run/uwsgi.pid pidfile=/var/run/uwsgi.pid
die-on-term=True die-on-term=True
fork-socket=True
pcre-jit=True