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