sampleplayer/gunicorn_config.py
Sophie Schiller 37d9e3780f gunicorn?
2024-05-19 15:11:57 +02:00

14 lines
325 B
Python

import os
workers = int(os.environ.get("GUNICORN_PROCESSES", "2"))
threads = int(os.environ.get("GUNICORN_THREADS", "4"))
# timeout = int(os.environ.get('GUNICORN_TIMEOUT', '120'))
bind = os.environ.get("GUNICORN_BIND", "0.0.0.0:8080")
forwarded_allow_ips = "*"
#secure_scheme_headers = {"X-Forwarded-Proto": "https"}