add nginx conf
[redakcja.git] / scripts / nginx.conf
1 server {
2     listen 80;
3
4     access_log off;
5     error_log /dev/stderr warn;
6
7     root /app/var;
8
9     location /static/ {
10         expires 30d;
11     }
12
13     location /media/ {
14         expires 30d;
15     }
16
17     location / {
18         proxy_set_header Accept-Language "";
19         proxy_set_header Host $host;
20         proxy_pass http://web:8000;
21     }
22 }