Trailing slash causes port number to be appended to URL – Varnish / NGINX
Scenario: If you access a url with a trailing slash it causes the port number…
You run a task and Nginx throws the following error:
This can be truly annoying and at times difficult to pinpoint.
To fix this error, create a new file called limits.conf at the location /etc/nginx/conf.d and copy the following lines of code into it. This is assuming that conf.d is set to be included in nginx.conf.
This effectively takes these limits up to 5 minutes. Restart Nginx and run your task again to see if it throws the error again
If you still get a timeout error then try doubling the values above and tweak them until you get it right.