diff --git a/n8n/.env.example b/n8n/.env.example index 1e46f31..1fbcf1e 100644 --- a/n8n/.env.example +++ b/n8n/.env.example @@ -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