website/etc/gunicorn.conf.py
2023-11-23 17:44:08 +00:00

11 lines
288 B
Python

wsgi_app = "website.wsgi:application"
accesslog = "-"
disable_redirect_access_to_syslog = True
preload_app = True
bind = "0.0.0.0:8080"
max_requests = 1200
max_requests_jitter = 50
forwarded_allow_ips = "*"
# Run an additional thread so the GIL isn't sitting completely idle
threads = 2