N8N set up with subfolderssl on ubuntu server 22.04

Describe the problem/error/question

Hi there, I wanted to set up n8n with subfolderssl https://github.com/n8n-io/n8n/blob/master/docker/compose/subfolderWithSSL/README.md, so basically I want to set up n8n with subpath like example.com/n8n, So I have done only with subdomain according to documentation and everything did work but when I add subpath such /n8n according to github subfolderssl within docker compose it is not working. So could you please give some advice and guide according to set up of subfolderssl, thank you.

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Kylychbek_Zhumabai_u, I am afraid this is a bit tricky and I honestly don’t know what the currently suggested approach is. In general I’d suggest you avoid using subpaths for your web application, not just with n8n but in general seeing how complex they can be.

Perhaps @mutdmour can help with this, seeing he’s got a lot of in-depth knowledge about hour our UI functions and how it fetches its assets?