blob: d25ab0bd139d76346d1f42899076f24616327d4b [file] [log] [blame]
Tony Mack699c1542014-05-20 16:28:16 -04001upstream backend {
2 # least_conn;
3 server 127.0.0.1:9001;
4 server unix:/var/run/planetstack.uwsgi.sock;
5}
6
7
8server {
9 listen 8081;
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}