Forget Passowrd Email not sending - 504 Gateway Time-out

Alright a few things that I need and a few suggestions.

Things to remove:

  • The 3rd server block that is doing some redirection, that shouldn’t be needed
  • Remove the include /etc.... line
  • Remove the ssl_dhparam .... line

Things I need:

  • The tail end of your Nginx error logs that show what request it was trying to make and why it failed, these should be located in /var/log/nginx/error.log, I don’t need the whole file just the lines around the error.
  • Your server.js file removing any personal information, either this is located in ./config/server.js or you may have an environment configured ./config/env/*/server.js
  • What email provider are you using?