25 lines
No EOL
375 B
TOML
Executable file
25 lines
No EOL
375 B
TOML
Executable file
[application]
|
|
module = "server.app:create_app()"
|
|
|
|
[server]
|
|
bind = ["0.0.0.0:8000"]
|
|
workers = 2
|
|
worker_class = "asyncio"
|
|
|
|
[websockets]
|
|
ping_interval = 30
|
|
ping_timeout = 10
|
|
|
|
[timeouts]
|
|
keep_alive = 5
|
|
graceful_timeout = 30
|
|
|
|
[logging]
|
|
access_log = "-"
|
|
error_log = "-"
|
|
log_level = "info"
|
|
|
|
[ssl]
|
|
# Enable for production
|
|
# certfile = "path/to/cert.pem"
|
|
# keyfile = "path/to/key.pem" |