Hey i have nginx reverse proxy on my server and it serves few websites on /, /blog, /blahblahblah
and i want to serve n8n on /_apps/n8n.
1st request seems to work because in network i can see We're sorry but the n8n Editor-UI doesn't work properly without JavaScript enabled. Please enable it to continue.
but other requests has no prefix /_apps/n8n . for example /assets/n8n-def62baf.css has no /_apps/n8n prefix and nginx redirects it to default 404 page.
nginx:
location /_apps/n8n {
proxy_buffering off;
proxy_cache off;
proxy_http_version 1.1;
chunked_transfer_encoding off;
proxy_set_header Connection '';
proxy_pass "http://127.0.0.1:5678";
}
docker cmd:
docker run -d -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n
I tried to set env vars like N8N_HOST etc but it didnt work. maybe i set wrong values.
Can someone help me with this?
