diff --git a/roles/gui/templates/reverse_proxy_ssl_apache2.conf.j2 b/roles/gui/templates/reverse_proxy_ssl_apache2.conf.j2 index 7be88211..9079a15e 100644 --- a/roles/gui/templates/reverse_proxy_ssl_apache2.conf.j2 +++ b/roles/gui/templates/reverse_proxy_ssl_apache2.conf.j2 @@ -19,6 +19,11 @@ ProxyRequests off ProxyPreserveHost on + # Adjust timeout & file size constraints + LimitRequestBody 0 + Timeout 600 + ProxyTimeout 600 + # no proxy for /error/ (Apache HTTPd errors messages) ProxyPass /error/ ! diff --git a/roles/gui/templates/reverse_proxy_ssl_nginx.conf.j2 b/roles/gui/templates/reverse_proxy_ssl_nginx.conf.j2 index 6792d2f5..62acccc8 100644 --- a/roles/gui/templates/reverse_proxy_ssl_nginx.conf.j2 +++ b/roles/gui/templates/reverse_proxy_ssl_nginx.conf.j2 @@ -20,6 +20,14 @@ server { # No squealing. server_tokens off; + # Adjust timeout & file size constraints + proxy_connect_timeout 600s; + proxy_read_timeout 600s; + proxy_send_timeout 600s; + client_body_timeout 600s; + send_timeout 600s; + client_max_body_size 0; + # Redirect root to /fireedge location = / { return 301 $scheme://$http_host/fireedge;