Skip to content

Commit

Permalink
Add timeout to proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
MrLutik committed Jan 11, 2024
1 parent dbf393b commit da59502
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cors-anywhere-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@
location / {
proxy_pass http://localhost:8080;
proxy_connect_timeout 10s;
proxy_read_timeout 10s;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand Down

0 comments on commit da59502

Please sign in to comment.