client_max_body_size in the nginx configuration.
This commit is contained in:
parent
f2f7ead713
commit
91cdab2798
|
@ -74,3 +74,5 @@ pep_replicas: 1
|
||||||
# hostnames to be used as vhosts
|
# hostnames to be used as vhosts
|
||||||
#pep_credentials: in vault
|
#pep_credentials: in vault
|
||||||
nginx_pep_debug_enabled: False
|
nginx_pep_debug_enabled: False
|
||||||
|
nginx_pep_max_body_size: 500M
|
||||||
|
nginx_pep_body_timeout: 60s
|
||||||
|
|
|
@ -32,6 +32,9 @@ server {
|
||||||
# Required for new HTTP-based CLI
|
# Required for new HTTP-based CLI
|
||||||
proxy_request_buffering off;
|
proxy_request_buffering off;
|
||||||
|
|
||||||
|
client_max_body_size {{ nginx_pep_max_body_size }};
|
||||||
|
client_body_timeout {{ nginx_pep_body_timeout }};
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
Loading…
Reference in New Issue