Python support

fixes #34
This commit is contained in:
Szekeres Bálint
2018-12-02 21:36:18 +01:00
parent 382aaf32a4
commit d4f3111c12
6 changed files with 104 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
# default uwsgi_params
include uwsgi_params;
# uwsgi settings
uwsgi_pass {{ !isPythonBackup() ? ((data.python_server[0] === '/' ? 'unix:' : '') + data.python_server) : 'python' }};
uwsgi_param Host $host;
uwsgi_param X-Real-IP $remote_addr;
uwsgi_param X-Forwarded-For $proxy_add_x_forwarded_for;
uwsgi_param X-Forwarded-Proto $http_x_forwarded_proto;