# How n8n should be made available. Gets by default also used to create the base of the webhook URL.
# If the Webhook URL is different because for example there is a reverse proxy in front of it and n8n does
# use port 4000 but is reachable from the outside via 443 it can be overwritten with:
# This URL gets used in the Frontend to tell it where the backend can be found
So the error you describe sounds to me like that either the environment variable VUE_APP_URL_BASE_API is not set correctly or n8n is not reachable.
Can you tell me what happens when you click on the “+” on the right side to create a node. Does the list contain any nodes?
n8n use well my .profile. I check it by changing port.
When I click on “+”, I can select and configure nodes. But when I try to execute, I get this message :
" Problem running workflow
There was a problem running the workflow: No active connection to server. It is maybe down."
That should solve your problem. Because if you can see the nodes it means that the UI can reach the API. So everything is configured correctly in that regard. So then it is probably a problem with EventSource and how it does not work correctly. with your Nginx setup.
I will try to add proper documentation about that soon.
@Arnaud Great, thanks! Yes, I think “not the best” is always better for people than not having any way at all
Have personally not the slightest idea about “systemd” or anything related. I am sure this solution is good enough for now and if something can get improved I hope at some point somebody will point it out.
PM2 is something that is starting to be used with n8n. In fact, it is one of the core services in the n8n-pi. I have written an article about using PM2 and n8n which may be helpful for those working with this setup:
That is more of a personal preference, If I am setting up nginx to run as a reverse proxy I just create a file called proxy_hosts and unlink / remove the defaults and do everything that way but there isn’t really a right or wrong answer and it depends on what you feel comfortable doing.