Files
WOL-LY/gunicorn_config.py

13 lines
310 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/cert.crt"
keyfile = "certs/cert.key"
# WSGI application path
wsgi_app = 'wolServer:app'