fix
[fnpdjango.git] / fnpdjango / deploy / templates / nginx.template
1 server {
2     listen   [::]:80;
3     listen   80;
4     server_name %(project_name)s.nowoczesnapolska.org.pl?;
5     access_log  %(app_path)s/log/nginx.log;
6     error_log  %(app_path)s/log/nginx-error.log;
7
8     root %(app_path)s;
9     location /media/ {
10     }
11     location /static/ {
12     }
13     location / {
14         include /etc/nginx/proxy.conf;
15         proxy_pass http://unix:/tmp/gunicorn-%(project_name)s.socket;
16     }
17 }