Hallo zusammen,
Ich betreibe n8n selbstgehostet via Docker Compose hinter Plesk (Ubuntu 20.04,
Plesk Obsidian 18.0.78), mit nginx als Reverse Proxy vor Docker.
Setup:
- n8n offizielles Docker-Image (n8nio/n8n)
- Reverse Proxy: Plesk’s nginx (Proxying zu Apache, dann zum Docker-Container
auf Port 5678) - Domain: Subdomain mit eigenem SSL (Let’s Encrypt via Plesk)
Bereits gesetzte Umgebungsvariablen:
N8N_HOST=bot.publicides.com
N8N_PORT=5678
N8N_PROTOCOL=https
WEBHOOK_URL=https://bot.publicides.com/
N8N_SECURE_COOKIE=false
N8N_TRUST_PROXY=true
N8N_PROXY_HOPS=2
N8N_PUSH_BACKEND=sse
N8N_EDITOR_BASE_URL=https://bot.publicides.com/
Bereits hinzugefügte nginx-Direktiven:
proxy_read_timeout 300s;
proxy_connect_timeout 300s;
proxy_send_timeout 300s;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
proxy_set_header Host $host;
proxy_pass_request_headers on;
Problem:
Jede Live-Editor-Aktion (Execute previous nodes, Test this trigger, selbst
nur das Öffnen des Executions-Tabs) schlägt mit „Problem running workflow —
Lost connection to the server