Update configuration templates to support 100MB request bodies

This commit is contained in:
Joachim Lusiardi 2016-04-12 22:33:55 +02:00
parent 5ea835e695
commit 41fedc251b

View File

@ -15,6 +15,8 @@ server {
listen $listen;
server_name $names;
location / {
client_max_body_size 100m;
client_body_timeout 300s;
proxy_set_header X-Real-IP $$remote_addr;
proxy_set_header X-Forwarded-For $$remote_addr;
proxy_set_header Host $$host;
@ -31,6 +33,8 @@ server {
return 301 $$scheme://$name/$location;
}
location /$location {
client_max_body_size 100m;
client_body_timeout 300s;
proxy_set_header X-Real-IP $$remote_addr;
proxy_set_header X-Forwarded-For $$remote_addr;
proxy_set_header Host $$host;