python-api-server/gunicorn_config.py

11 lines
178 B
Python

bind = "0.0.0.0:5000"
workers = 2
threads = 4
import sys
accesslog = '-' # Log to stdout
errorlog = '-' # Log to stderr
sys.stdout = sys.stderr # Redirect stdout to stderr