Hi.
I am using self-host n8n and API page is empty in setting page when deploying on subpath for exmaple: “example.com/n8n”
But available when deploying on root path.
Information on your n8n setup
- n8n version: 1.38.1
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system:
NGINX config for subpath :
N8N_PATH=/n8n/
VUE_APP_URL_BASE_API=https://{{ domain }}/n8n/
WEBHOOK_URL=https://{{ domain }}/n8n/
N8N_EDITOR_BASE_URL=https://{{ domain }}/n8n/
NGINX N8N Configs
location /n8n/ {
proxy_pass http://127.0.0.1:{{ n8n_local_port }}/;
proxy_set_header Connection “Upgrade”;
chunked_transfer_encoding off;
proxy_buffering off;
proxy_cache off;
proxy_set_header Early-Data $ssl_early_data;
proxy_set_header Host $host;
proxy_set_header Proxy "";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Real-IP $remote_addr;
}