I too am experiencing this behavior where the base domain is different between test and prod webhooks.
When creating webhooks, the test ones look like:
https://n8n.mydomain.com/webhook-test/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
While the prod ones look like:
https://n8n-webhooks.mydomain.com/webhook/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
services:
n8n:
image: docker.n8n.io/n8nio/n8n
container_name: n8n
restart: always
ports:
- "5678:5678"
environment:
- N8N_HOST=localhost
- N8N_PORT=5678
- N8N_PROTOCOL=http
- NODE_ENV=production
- N8N_EDITOR_BASE_URL=https://n8n.mydomain.com/
- WEBHOOK_URL=https://n8n-webhooks.mydomain.com/
- N8N_PROXY_HOPS=1
- N8N_EMAIL_MODE=smtp
- N8N_SMTP_HOST=smtp.mydomain.com
- N8N_SMTP_PORT=25
- N8N_SMTP_SENDER=n8n@mydomain.com
- N8N_SMTP_SSL=false
volumes:
- ./n8n_data:/home/node/.n8n