generated from rmetcalf9/template_pythonservice_with_quasar_frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuwsgi.ini
32 lines (23 loc) · 892 Bytes
/
uwsgi.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[uwsgi]
#application's base folder
base = /app
#python module to import
app = app
module = %(app):globalFlaskAppObj
####home = %(base)/venv
pythonpath = %(base)
#socket file's location
socket = /app/uwsgi.sock
#permissions for the socket file
chmod-socket = 666
#the variable that holds a flask application inside the module imported at line #6
callable = app
#location of log files
## commented this out - I want to log to stdout so I can see in docker log command
##logto = /var/log/uwsgi/main.log
enable-threads = true
#Adding due to POST and PUTs stopping working
## Default setting is 4096
buffer-size=8192
# See https://stackoverflow.com/questions/22697584/nginx-uwsgi-104-connection-reset-by-peer-while-reading-response-header-from-u
# Apparently this is the max size of request headers. As my JWT token is getting bigger and I include it mutiple times I have increased it