From 0170bbaf4af6857e1041ba4f09f10c0982b76ddb Mon Sep 17 00:00:00 2001 From: Martin Mares <mj@ucw.cz> Date: Mon, 4 Oct 2021 21:42:28 +0200 Subject: [PATCH] =?UTF-8?q?=C3=9Aklid=20v=20uk=C3=A1zkov=C3=A9=20konfigura?= =?UTF-8?q?ci=20UWSGI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Především zapínáme striktní mód, ve kterém si UWSGI stěžuje na neznámá nastavítka. --- etc/uwsgi.ini.example | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/uwsgi.ini.example b/etc/uwsgi.ini.example index c5cb0897..3a135d82 100644 --- a/etc/uwsgi.ini.example +++ b/etc/uwsgi.ini.example @@ -1,4 +1,5 @@ [uwsgi] +strict = true chdir = /akce/mo/osmo-test/ socket = var/osmo.sock chmod-socket = 666 @@ -12,9 +13,9 @@ log-date = %%Y-%%m-%%d %%H:%%M:%%S logformat-strftime log-format = %(ftime) %(addr) %(method) "%(uri)" %(proto) %(status) t=%(msecs) rxb=%(cl) txb=%(rsize) pid=%(pid) user=%(osmo_uid) -master = True +master = true processes = 2 -vacuum = True +vacuum = true die-on-term = true max-requests = 10000 -- GitLab