N8N_PATH=/n8n n8n start

Category: n8n & Workflow Automation

N8N_PATH=/n8n n8n start

Serve n8n under a URL path

Deploys the editor and API under the /n8n path prefix instead of the root, which some corporate proxies require. Combining N8N_PATH with a reverse proxy can break folder navigation, so prefer a subdomain such as n8n.example.com when possible.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.