|
|
@ -6,7 +6,7 @@ error_log /var/log/nginx/error.log; |
|
|
|
|
|
|
|
|
server { |
|
|
server { |
|
|
listen 80; |
|
|
listen 80; |
|
|
server_name reymota.lag *.reymota.lab; |
|
|
|
|
|
|
|
|
server_name reymota.lab *.reymota.lab; |
|
|
root /www/data/; |
|
|
root /www/data/; |
|
|
access_log /var/log/nginx/access.log; |
|
|
access_log /var/log/nginx/access.log; |
|
|
|
|
|
|
|
|
@ -15,6 +15,7 @@ server { |
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
proxy_set_header Host $host; |
|
|
proxy_set_header Host $host; |
|
|
proxy_redirect off; |
|
|
proxy_redirect off; |
|
|
|
|
|
client_max_body_size 100M; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
location /static/ { |
|
|
location /static/ { |
|
|
|