Problem with n8n template
I have a problem with the n8n template, the http link works but not the https does not work.
version: "3.8"
services:
n8n:
image: docker.n8n.io/n8nio/n8n:1.72.1
restart: always
environment:
- N8N_HOST=${N8N_HOST}
- N8N_PORT=${N8N_PORT}
- N8N_PROTOCOL=http
- NODE_ENV=production
- WEBHOOK_URL=https://${N8N_HOST}/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
- N8N_SECURE_COOKIE=false
volumes:
- n8n_data:/home/node/.n8n
volumes:
n8n_data:
7 Replies
I have set it up correctly in the domains, the other templates work but not the N8N.

http :

Read the middle line of the code 🙂
Yes you mean I switch N8N_PROTOCOL from http to https? I had already tried and restarted the server but that did not solve the problem.
How did you setup the domain?
yes i already did it, I have others online and it works without any problems.