Files
WOL-LY/gunicorn_config.py
2024-12-13 18:08:44 +02:00

13 lines
320 B
Python

import os
# gunicorn -w 1 -b 0.0.0.0:51820 --certfile=./mycert.crt --keyfile=./mycert.key wolServer:app
bind = "0.0.0.0:51820"
workers = 1 # or any other number of worker processes
# SSL/TLS settings
certfile = "../certs/mycert.crt"
keyfile = "../certs/mycert.key"
# WSGI application path
wsgi_app = 'wolServer:app'