Setting up n8n on nginx (ispmanager 6)

I have ispmanager 6 installed on my server, a bundle of nginx + apache, the operating system is Ubuntu 22

Accordingly, my ports 80, 443, 8080 are busy, so I have a problem with the installation according to this instruction Docker Compose | n8n Docs

Does anyone have a ready-made configuration for docker compose and nginx so that I can connect n8n with the already installed nginx via ispmanager. There are no problems with the installation of n8n, it starts, but I can’t connect it to my domain

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

I solved the problem a couple of hours after writing. Unfortunately, I did not understand how to delete the question (it was being viewed by the moderator) apparently there is no such option. I changed the ports of traefik, but the main problem was that nginx intercepted all requests to the domain. I solved this problem by creating a config for the domain in nginx, which now passes all requests for the n8n subdomain to traefik.

you have nginx and traefik both on the same instance? But for what?

the thing is that I’m a noob. If you have the correct docker compose for n8n (to work with nginx) And also the configuration file for the n8n subdomain, that would be great :_

No, I don’t have any. If you have a nginx on another instance, then you can install n8n via usual docker installation (without the compose file). If you are planning to use them both on the same instance, then you’ll need to create the compose file on you own.

But you don’t need both traefik and nginx as they do the same thing

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.