[uwsgi]
chdir = /srv/webcode/webcode
module = webcode.wsgi:application

plugin = python3

# We can receive connections either via http or from frontend via uwsgi socket

# http:
http-socket = 0.0.0.0:8000

# uwsgi:
#socket = 0.0.0.0:8000
#chmod-socket = 664

vacuum = true

master = true
need-app = true
processes = 10
harakiri  = 20
max-requests = 5000
[uwsgi]
chdir = /srv/webcode/webcode
module = webcode.wsgi:application

plugin = python3

# We can receive connections either via http or from frontend via uwsgi socket

# http:
#http-socket = 0.0.0.0:8000

# uwsgi:
socket = 0.0.0.0:8000
chmod-socket = 664

vacuum = true

master = true
need-app = true
processes = 10
harakiri  = 20
max-requests = 5000
Switch uwsgi server mode from direct http to uwsgi-nginx protocol.
Switch uwsgi server mode from direct http to uwsgi-nginx protocol.
