Update configuration templates to support 100MB request bodies
This commit is contained in:
parent
5ea835e695
commit
41fedc251b
|
@ -15,6 +15,8 @@ server {
|
||||||
listen $listen;
|
listen $listen;
|
||||||
server_name $names;
|
server_name $names;
|
||||||
location / {
|
location / {
|
||||||
|
client_max_body_size 100m;
|
||||||
|
client_body_timeout 300s;
|
||||||
proxy_set_header X-Real-IP $$remote_addr;
|
proxy_set_header X-Real-IP $$remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $$remote_addr;
|
proxy_set_header X-Forwarded-For $$remote_addr;
|
||||||
proxy_set_header Host $$host;
|
proxy_set_header Host $$host;
|
||||||
|
@ -31,6 +33,8 @@ server {
|
||||||
return 301 $$scheme://$name/$location;
|
return 301 $$scheme://$name/$location;
|
||||||
}
|
}
|
||||||
location /$location {
|
location /$location {
|
||||||
|
client_max_body_size 100m;
|
||||||
|
client_body_timeout 300s;
|
||||||
proxy_set_header X-Real-IP $$remote_addr;
|
proxy_set_header X-Real-IP $$remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $$remote_addr;
|
proxy_set_header X-Forwarded-For $$remote_addr;
|
||||||
proxy_set_header Host $$host;
|
proxy_set_header Host $$host;
|
||||||
|
|
Loading…
Reference in New Issue