Files
interchan/uwsgi.ini
Alek Ratzloff 0847ea310c Add some forwarding options to nginx and some log stuff to uwsgi
* nginx needs to add X-Forwarded-For and REMOTE_ADDR headers to get the
  IP address properly
* uwsgi now logs 400 errors and adds the REMOTE_ADDR to the log file

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-18 18:31:41 -07:00

15 lines
262 B
INI

[uwsgi]
logformat = %(method) %(status) %(addr) %(uri) %(proto)
log-4xx = true
log-5xx = true
#uid = uwsgi
processes = 5
harakiri = 20
maxrequests = 5000
socket = 0.0.0.0:3031
#plugins = python
protocol = uwsgi
chdir = /app
module = threadchat.wsgi:application