diff options
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/nginx.conf | 8 | ||||
| -rw-r--r-- | contrib/uwsgi.ini | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/contrib/nginx.conf b/contrib/nginx.conf new file mode 100644 index 0000000..131634a --- /dev/null +++ b/contrib/nginx.conf @@ -0,0 +1,8 @@ +server { + listen 80; + location / { try_files $uri @app; } + location @app { + include uwsgi_params; + uwsgi_pass unix:/var/run/uwsgi/app.sock; + } +} diff --git a/contrib/uwsgi.ini b/contrib/uwsgi.ini new file mode 100644 index 0000000..a632fb1 --- /dev/null +++ b/contrib/uwsgi.ini @@ -0,0 +1,7 @@ +[uwsgi] +module = main:app +chdir = +socket = /run/uwsgi/%n.sock +plugins = python2 +uid = http +gid = http |
