Browse Source

uwsgi-cgi: improve uwsgi configuration

This fix wrong configuration to the luci uwsgi conf

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
lilik-openwrt-22.03
Ansuel Smith 7 years ago
parent
commit
052996773a
No known key found for this signature in database GPG Key ID: AC001D09ADBFEAD7
2 changed files with 5 additions and 3 deletions
  1. +1
    -1
      net/uwsgi-cgi/Makefile
  2. +4
    -2
      net/uwsgi-cgi/files-luci-support/uwsgi.conf

+ 1
- 1
net/uwsgi-cgi/Makefile 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
net/uwsgi-cgi/files-luci-support/uwsgi.conf 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

Loading…
Cancel
Save