Я запускаю N8N внутри Docker на виртуальном сервере и использую Caddy в качестве обратного прокси, чтобы выставить его на HTTPS. Telegram (or any external service) fails to connect to the webhook endpoints due to the port mismatch.
For example, instead of generating:
https://example.com/webhook/telegram/xyz
n8n generates:
https://example.com:5678/webhook/telegram/xyz
my setup:
n8n, работающий в докере на порту 5678
caddy Reverse Proxy Goodling https и Pristring to to to to to to to to to to to to to to to to to to to to to to to to to to localhost. /> Доступ к N8N через https://example.com хорошо работает в браузере < /p>
n8n.example.com {
reverse_proxy localhost: 5678 {
header_up x-forwarded-proto https
header_up x-forded-port 443
}
header_up x-fored-orport 443
}
https
header_up />} < /p>
Подробнее здесь: https://stackoverflow.com/questions/796 ... bhook-urls