10 lines
205 B
Python
10 lines
205 B
Python
import os
|
|
|
|
bind = os.environ.get("BIND") or f"0.0.0.0:{os.environ.get('PORT', '8000')}"
|
|
workers = min(os.cpu_count() * 2 + 1, 9)
|
|
timeout = 30
|
|
keepalive = 5
|
|
errorlog = "-"
|
|
accesslog = "-"
|
|
loglevel = "info"
|