Skip to content
Merged
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
20 changes: 20 additions & 0 deletions deployment/roles/reverse/templates/nginx/conf.d/vhosts.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ server {
# Please be aware that browsers cannot correctly display this error.
# Setting size to 0 disables checking of client request body size.
client_max_body_size 0;

# Increase send timeout to allow the upstream more time to consume the stream.
# This prevents "Early EOF" errors during large uploads if the backend slows down.
# Note: This is a timeout between two successive write operations, not for the total duration.
proxy_send_timeout 600s;

# Increase read timeout to allow the backend to process the file after the upload is complete.
# Essential for large ZIPs where post-upload tasks can take some time.
# Note: This is a timeout between two successive read operations from the upstream.
proxy_read_timeout 600s;
}
{% endif %}

Expand Down Expand Up @@ -101,6 +111,16 @@ server {
# Please be aware that browsers cannot correctly display this error.
# Setting size to 0 disables checking of client request body size.
client_max_body_size 0;

# Increase send timeout to allow the upstream more time to consume the stream.
# This prevents "Early EOF" errors during large uploads if the backend slows down.
# Note: This is a timeout between two successive write operations, not for the total duration.
proxy_send_timeout 600s;

# Increase read timeout to allow the backend to process the file after the upload is complete.
# Essential for large ZIPs where post-upload tasks can take some time.
# Note: This is a timeout between two successive read operations from the upstream.
proxy_read_timeout 600s;
}
{% endif %}
{% if groups.get('hosts_ui_design_system', []) | length > 0 %}
Expand Down
Loading