- Set up the reverse proxy and open it through the domain name.
- Set WEBHOOK_URL and N8N_HOST in the .bash_profile file.
Hey @duttchasel, welcome to the community!
Could you give that a go?
I solved the problem by running the
pm2 start n8n --update-env command and found another problem
When I use the domain name to access, the HTTP request node cannot send any requests (or receive?), It is always in Executing node… status. If I use IP + port, it will work normally.
This sounds like you might be running n8n behind a reverse proxy server such as Caddy or nginx. Could you make sure it’s properly configured (Caddy, Nginx) so information from the server reaches the UI?
I realize that reverse proxy is not the right solution, and I will abandon it.
Thanks for your help!
You’re most welcome! Just to add my 2 cents: Despite adding a bit of extra work, a reverse proxy can make sense in many situations - so you might not want to abandon this idea forever