diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2015-10-02 13:06:31 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2015-10-02 13:06:31 -0400 |
| commit | d594f9e88961cd2dbf667ea264f4251f87f9cd2d (patch) | |
| tree | 69cc8126ad72329e7e4ada20c3b3ea3d6b814926 /contrib | |
| download | dashboard-d594f9e88961cd2dbf667ea264f4251f87f9cd2d.tar.gz | |
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 |
