user's can't set/unset site in Login Details without the proper authorization
[plstackapi.git] / planetstack / nginx / planetstack.conf
1 upstream backend {
2   # least_conn;   
3   server unix:/var/run/uwsgi/planetstack.sock;
4   server 127.0.0.1:9001;
5 }
6
7
8 server {
9     listen 80;
10     server_name 128.112.139.48;
11
12     location /static/ {
13         alias /opt/planetstack/core/static/;
14         expires 30d;
15         access_log off;
16     }
17
18     location / {
19         include /etc/nginx/uwsgi_params;
20         uwsgi_pass backend;
21     }
22 }