Dokku Change Nginx Timeout
None of the plug-ins for doing custom nginx configurations were working for me.So, I changed the following two files:
/var/lib/dokku/plugins/nginx-vhosts/templates/nginx.ssl.conf
/var/lib/dokku/plugins/nginx-vhosts/templates/nginx.conf
I added the following under "location / {":
proxy_connect_timeout 300s;
proxy_read_timeout 300s;