fnp
/
fnpdjango.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
810c73c3b005e7b4de57b927e23f7a8bce3cbfe6
[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 %(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
}