From 052996773a0d3d49ff3afd613496aedbd17e5a14 Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Sat, 16 Jun 2018 16:07:04 +0200 Subject: [PATCH] uwsgi-cgi: improve uwsgi configuration This fix wrong configuration to the luci uwsgi conf Signed-off-by: Ansuel Smith --- net/uwsgi-cgi/Makefile | 2 +- net/uwsgi-cgi/files-luci-support/uwsgi.conf | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/net/uwsgi-cgi/Makefile b/net/uwsgi-cgi/Makefile index f7ede32a2..6d3804165 100644 --- a/net/uwsgi-cgi/Makefile +++ b/net/uwsgi-cgi/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=uwsgi-cgi PKG_VERSION:=2.0.17 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/unbit/uwsgi diff --git a/net/uwsgi-cgi/files-luci-support/uwsgi.conf b/net/uwsgi-cgi/files-luci-support/uwsgi.conf index 780b44e50..84c32bbfb 100644 --- a/net/uwsgi-cgi/files-luci-support/uwsgi.conf +++ b/net/uwsgi-cgi/files-luci-support/uwsgi.conf @@ -1,6 +1,5 @@ [uwsgi] stric = True -plugins = cgi uwsgi_modifier1 = 9 socket = /var/run/uwsgi.sock cgi-mode = true @@ -21,6 +20,9 @@ socket-timeout=120 thunder-lock = True logger = syslog:uwsgi daemonize = True +disable-logging = True log-format = %(addr) %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs pidfile=/var/run/uwsgi.pid -die-on-term=True \ No newline at end of file +die-on-term=True +fork-socket=True +pcre-jit=True \ No newline at end of file