Handle some deprecations
[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     client_max_body_size 200M;
9
10     location /static/ {
11         expires 30d;
12     }
13
14     location /media/ {
15         expires 30d;
16     }
17
18     location / {
19         proxy_set_header Accept-Language "";
20         proxy_set_header Host $host;
21         proxy_pass http://web:8000;
22     }
23 }