uwsgi-cgi: improve uwsgi configuration
This fix wrong configuration to the luci uwsgi conf Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
This commit is contained in:
parent
c89dc49dfb
commit
052996773a
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
Loading…
Reference in a new issue