Document n8n reverse proxy settings

This commit is contained in:
wuyanwanwu
2026-08-17 20:33:24 +08:00
parent 9490a1ce54
commit b73027ed9d
+5 -4
View File
@@ -2,13 +2,14 @@
# Do not change this value after n8n has stored credentials.
N8N_ENCRYPTION_KEY=
# Initial access is through an SSH tunnel, so keep n8n on localhost.
N8N_HOST=127.0.0.1
# Nginx terminates HTTPS; n8n itself listens on local HTTP only.
N8N_HOST=n8n.example.com
N8N_PORT=5678
N8N_LISTEN_ADDRESS=127.0.0.1
N8N_PROTOCOL=http
N8N_EDITOR_BASE_URL=http://127.0.0.1:5678
N8N_SECURE_COOKIE=false
N8N_EDITOR_BASE_URL=https://n8n.example.com
WEBHOOK_URL=https://n8n.example.com/
N8N_SECURE_COOKIE=true
TZ=Asia/Shanghai
GENERIC_TIMEZONE=Asia/Shanghai