Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
set proxy_read_timeout to 3600 seconds, 1 hour
Browse files Browse the repository at this point in the history
This fixes errors like:
upstream timed out (110: Connection timed out) while reading response header from upstream

Signed-off-by: Jakub Sokołowski <[email protected]>
  • Loading branch information
jakubgs committed Oct 12, 2020
1 parent dc77d24 commit c12b93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/group_vars/thehive-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ nginx_sites:
proxy_pass http://127.0.0.1:{{ the_hive_port }}/;
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;

proxy_read_timeout 3600;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
Expand Down

0 comments on commit c12b93d

Please sign in to comment.