diff options
Diffstat (limited to 'lib/uwsgi/patchwork.ini')
| -rw-r--r-- | lib/uwsgi/patchwork.ini | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/uwsgi/patchwork.ini b/lib/uwsgi/patchwork.ini index fc0f0ed..04a9837 100644 --- a/lib/uwsgi/patchwork.ini +++ b/lib/uwsgi/patchwork.ini @@ -6,11 +6,16 @@ project = patchwork base = /opt user = www-data group = www-data +url = / chdir = %(base)/%(project) pythonpath = %(base)/%(project) module = %(project).wsgi:application +# rewrite PATH_INFO and SCRIPT_NAME according to mount-points (for nginx) +manage-script-name = true +mount = %(url)=%(module) + master = true processes = 5 # increase buffer size to avoid "502 bad gateway error" |