Reverse Proxy: One vHost with locations for different docker apps
My idea was to create one vHost myserver.local and have custom locations pointing to different docker apps:
myserver.local directly points to the NPM admin GUI on port 81.
myserver.local/portainer should point to portainer:8000
I tried it with NPM but it doesn't seem work: I get to the admin GUI but only get a 404 for /portainer... Googling the issue I mostly read about using sub domains instead of locations, but at the moment I am limited to one DNS entry for my home server.
Subdomains are better because some applications don't like to be in a custom path and might not work.
A single DNS entry (like *.local.example.com) should be enough to use anything in the subdomain instead of creating one entry for each application. (portainer.local.example.com, pihole.local.example.com, etc).
If your provider doesn't support that, can't you use Cloudflare? It's free.