Invalid origin!
n8n Behind nginx: 'Connection lost' and 'Invalid origin!' on a Non-Default Port ($host vs $http_host)
With n8n behind nginx on a non-default port (8443 in our test), proxy_set_header Host $host; drops the port from Host, while the browser's Origin keeps :8443. n8n rejects the /rest