On a local development machine, I have a nginx reverse proxy like so:
server { listen 80; server_name myvirtualhost1.local; location / { proxy_pass http://127.0.0.1:8080; } server { listen 80; server_name myvirtualhost2.local; location / { proxy_pass http://127.0.0.1:9090; }
Yet if I debug my application, the response may be delayed for an infinite amount of time, yet after 30 seconds I get:
504 Gateway Time-out
as a response.
How can I disable the timeout and have my reverse proxy wait forever for a response? And I like the setting to be global, so that I do not have to set it for each proxy.