Browse Source

Merge pull request #6302 from Ansuel/uwsgi-su

uwsgi-cgi: improve uwsgi configuration
lilik-openwrt-22.03
Hannu Nyman 7 years ago
committed by GitHub
parent
commit
99158896be
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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