I am deleting all products in my magento 2 system. There are about 1200 products in my catalog.
When I select all and delete, after 60 seconds I get a 504 Gateway Time-out on Nginx.
What are the recommeneded settings in this case?
The trick here was ensuring varnish did not timeout with:
backend default {
.host = "127.0.0.1";
.port = "8080";
.first_byte_timeout = 600s;
}
As described in the docs
Then it was ensuring the nginx and php-fpm did not timeout. Ensure to add:
fastcgi_read_timeout 600;
proxy_read_timeout 600;
on both ssl and non-ssl servers
600
it still timesout