• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question How to install n8n?

arturoeq

New Pleskian
Hi everyone,
I have a VPS with a generic domain and would like to install n8n on a subdomain of a domain added as a service. This is possible?
If so, would you be so kind as to explain to me what the procedure is.
 
Hi arturoeq,

You should be able to by first creating a subdomain (go to the domains tab in Plesk and click "Add Subdomain"). Once the sub domain is created just follow through the setup steps to get it installed.

*edited part*

Now looking through the docs a bit, since this isn't running as PHP or anything but instead with docker or NPM there might be a bit more complex. It's possible to do it through Plesk but I never figured out how it works, just know you still need to create the sub domain first (unless you're creating a different server elsewhere in which case you just need to create an A record in the DNS to point to the IP of the other server)
 
Hi arturoeq,

You should be able to by first creating a subdomain (go to the domains tab in Plesk and click "Add Subdomain"). Once the sub domain is created just follow through the setup steps to get it installed.

*edited part*

Now looking through the docs a bit, since this isn't running as PHP or anything but instead with docker or NPM there might be a bit more complex. It's possible to do it through Plesk but I never figured out how it works, just know you still need to create the sub domain first (unless you're creating a different server elsewhere in which case you just need to create an A record in the DNS to point to the IP of the other server)
Yes, maybe Docker it's the solution, but i don't know how to configure it exactly.
 
Hello everyone,
Here's what I did to make it work perfectly! On a dedicated server
1- A domain name or subdomain to install n8n
2- Here are the environment variables I added:
N8N_PORT value 5678
N8N_HOST value --> the domain name
WEBHOOK_URL --> https://xxxxx.com/
N8N_EDITOR_BASE_URL https://same as before/
N8N_BASIC_AUTH_ACTIVE --> true
N8N_BASIC_AUTH_USER --> a super-long username with no connection to the content
N8N_BASIC_AUTH_PASSWORD --> a super-long passphrase
GENERIC_TIMEZONE Europe/Paris
N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS true
N8N_RUNNERS_ENABLED true
3- What I added in the DNS section --> Apache and NGNIX
# Reverse proxy vers n8n en Docker
location / {
proxy_pass http://127.0.0.1:32779;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
In any case, it works perfectly
in Docker!
My next step:
Learn or discover how to update n8n
If you see an error, do not hesitate to come back to this topic, thank you all, thanks to you I grow, I learn and I move forward. THANK YOU VERY MUCH TO ALL!!!
 
Back
Top