Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions roles/gui/templates/reverse_proxy_ssl_apache2.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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/ !

Expand Down
8 changes: 8 additions & 0 deletions roles/gui/templates/reverse_proxy_ssl_nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down