dockerfiles icon indicating copy to clipboard operation
dockerfiles copied to clipboard

Feature request: Support for hosting service under a custom URL path

Open GitHubGeek opened this issue 8 years ago • 2 comments

This is mainly towards the Nextcloud dockerfile:

Instead of assuming nextcloud is always served under foobar.com/, it would be great to let user specify a custom path at run time, e.g.

foobar.com/nextcloud/ OR foobar.com/custom-path/nextcloud/

GitHubGeek avatar Jan 16 '17 03:01 GitHubGeek

We use nginx-proxy to have the nextcloud running under a custom subdomain, and have the Let's encrypt certificates automatically being signed: https://github.com/jwilder/nginx-proxy Would that help?

kosli avatar Jan 16 '17 15:01 kosli

My intention is security through obscurity, where a secret /custom-path/ is going to reducing a lot of login attempts from bots and whatnot.

An analogy would be running sshd on port other than 22.

Thanks for pointing out the nginx-proxy repo. Currently I'm ok with deploying the nginx reverse proxy manually.

GitHubGeek avatar Jan 16 '17 23:01 GitHubGeek