Describe the problem:
- The path part of webhook URL is showing null as in UI, but webhook works fine, as you can see in the image below.
-
the lead comes from the webhook node is not present
i have checked few posts and n8n docs as well but not been able to fix this
hosting N8n with docker compose + traefik - (Although i use nginx )
and few community questions on this topic
Information on your n8n setup
- n8n version: 1.110.1
- **Database (default: SQLite):**SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**Docker
- Operating system:Ubuntu 22
My stack
- docker compose
- Nginx
docker-compose.yaml
services:
n8n:
image: docker.n8n.io/n8nio/n8n
restart: always
ports:
- "127.0.0.1:5678:5678"
environment:
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
- N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
- N8N_PORT=5678
- N8N_PROTOCOL=https
- N8N_RUNNERS_ENABLED=true
- NODE_ENV=production
- WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
- TZ=${GENERIC_TIMEZONE}
- N8N_PROXY_HOPS=1
volumes:
- n8n_data:/home/node/.n8n
- ./local-files:/files
volumes:
n8n_data:
envs are populated, from docker inspect:
logs from docker :
there is no log about proxy headers or webhook present
i double checked for headers are passed by nginx - the non built in variable for nginx is defined and nginx is running fine [ I checked with nginx -T ]
-
X-Forwarded-Forpassed -
X-Forwarded-Hostpassed -
X-Forwarded-Protopassed
part of my nginx proxy config
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Forwarded $proxy_add_forwarded;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;



