TDD: 1, Me: 0
This commit is contained in:
12
gunicorn_config.py
Normal file
12
gunicorn_config.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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'
|
||||
Reference in New Issue
Block a user