[go: nahoru, domu]

Skip to content

Commit

Permalink
tune uwsgi read timeout (troubleshoots 'upstream timed out' on POST i…
Browse files Browse the repository at this point in the history
…mport_scan_results)
  • Loading branch information
TROVATELLI Pascal committed Apr 9, 2019
1 parent 5f589d8 commit f68a4ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/entrypoint-uwsgi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ exec uwsgi \
"--${DD_UWSGI_MODE}" "${DD_UWSGI_ENDPOINT}" \
--protocol uwsgi \
--wsgi dojo.wsgi:application
--http-timeout 1800
1 change: 1 addition & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ http {
location / {
include /run/uwsgi_pass;
include /etc/nginx/wsgi_params;
uwsgi_read_timeout 1800;
}
error_page 500 502 503 504 /50x.html;
}
Expand Down

0 comments on commit f68a4ee

Please sign in to comment.