I have domain example.com
I don’t want to get access to admin interface of n8n via n8n.example.com.
How to install n8n to get access to its admin interface via example.com/n8n/?
What do I mean. If I open example.com/n8n/ in browser I see login form, after logging in I see dashboard or so on and its URL is some kind of example.com/n8n/dashboard.
Sorry if I make mistake in naming internal n8n pages.
What problems can such installation cause?
For example:
Will n8n be able to create correct links to its sections like a example.com/n8n/nodes/ or so on?
Will the webhook catcher node be able to catch incoming webhook?
Is it possible to do such installation without reverse-proxy (like a Nginx)?
Just a short update. Running n8n on a subfolder is non-trivial. For that reason am I making currently changes to make that easier in the future. I finally got almost everything running correctly. Will update here once a version is available that can do that.
In what folder does n8n install by default? I would know a full path.
It stores all the assets (icons, js-files, fonts, svgs, png-files) in that folder, is it right?
If you do “npm install n8n” it would be the folder you are currently in.
If you do “npm install n8n -g” then wherever your operating system installs globally installed npm packages. A short Google search should however answer that question quite easily.
npx does “install” packages only temporary or uses the only from the node_modules of your current directory as far as I know.
Where that temporary files live, I do not know and depends again on your operating system. This is not n8n functionality for that reason is it better to ask such questions for example here: https://npm.community/c/support/7
They are npm/npx experts and can help you there better than any of us.
Yes that is also possible. It is not important how you install n8n, it is only important that you configure it correctly via environment variables. Which ones to set can however be found in the above docker example.