CostaCoffe/config/server.py

17 lines
330 B
Python
Raw Normal View History

2024-05-12 02:18:32 +07:00
host = "localhost"
port = 15001
reloader = False
debug = False
server = 'gunicorn' # default = 'wsgiref'
2024-05-12 02:18:32 +07:00
# cors
# session
2023-11-04 19:12:11 +07:00
2024-05-12 02:18:32 +07:00
# error page 403
# error page 404
# error page 500
2023-11-04 19:12:11 +07:00
2024-05-12 02:18:32 +07:00
# max_request_body_size = 800 * 1024 * 1024 , # Multiply for 800MB result
# socket timeout = 60
# response timeout = 3600