summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2015-10-02 13:06:31 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2015-10-02 13:06:31 -0400
commitd594f9e88961cd2dbf667ea264f4251f87f9cd2d (patch)
tree69cc8126ad72329e7e4ada20c3b3ea3d6b814926 /contrib
downloaddashboard-d594f9e88961cd2dbf667ea264f4251f87f9cd2d.tar.gz
Initial commitHEADmaster
Diffstat (limited to 'contrib')
-rw-r--r--contrib/nginx.conf8
-rw-r--r--contrib/uwsgi.ini7
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