Based on the search results from [community.n8n.io]( I cannot get n8n to work on my server. I got this websocket error message in console ), this appears to be a common WebSocket configuration issue with reverse proxies.
Try adding these specific headers to your nginx configuration’s location block:
• `proxy_set_header X-Real-IP $remote_addr;`
• `proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;`
• `proxy_set_header X-Forwarded-Proto $scheme;`
Also set these n8n environment variables: `N8N_CORS_ORIGIN=https://c4dae744e5e6.vps.myjino.ru` and remove `N8N_PROXY_HOPS=1`. If WebSocket issues persist with your hosting provider, try setting `N8N_PUSH_BACKEND=sse` as an alternative to WebSocket connections, which may work better with restrictive hosting environments.