使用Docker和Traefik/LetsEncrypt自托管n8n(实现https)
原文英文,约1400词,阅读约需5分钟。发表于: 。Setting up n8n in Docker, without https, is relatively simple. That's covered here. However, some things (e.g. oauth2 connection to Google Drive) are difficult or impossible to do in n8n unless...
在Docker中运行n8n和Traefik,通过Traefik作为反向代理实现HTTPS访问。配置Traefik获取SSL证书,确保DNS正确,将子域名指向n8n。设置n8n容器标签支持HTTPS,并加入Traefik网络。配置N8N_EDITOR_BASE_URL和WEBHOOK_URL以确保OAuth2流程正常,特别是用于Google API。