Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe document subfolder based access (example) #2276

Open
joshtrichards opened this issue Aug 13, 2024 · 1 comment
Open

Maybe document subfolder based access (example) #2276

joshtrichards opened this issue Aug 13, 2024 · 1 comment
Labels
docs enhancement examples Compose/Dockerfile/etc

Comments

@joshtrichards
Copy link
Member

There's a distinction between a subfolder installation of Nextcloud (i.e. somewhere under the docroot) and merely making Nextcloud reachable via a subfolder style URL (https://domain.tld/nextcloud). The former is not something relevant to this image, while the latter is a config matter (including reverse proxy integration)

There's probably an opportunity to improve upstream documentation and/or our docs & examples here at the Docker level.

I mention this so that maybe we can finally close out the following issues:

@joshtrichards joshtrichards added enhancement docs examples Compose/Dockerfile/etc labels Aug 13, 2024
@tzerber
Copy link
Contributor

tzerber commented Sep 24, 2024

Current setup:
latest fpm NC running at nextcloud_app:80, config.php allowing the domains below. Proxy listening on https://x.domain.com and NC working fine, then added secondary https://y.domain.com pointing to another working service(not nextcloud). Then added location https://y.domain.com/nextcloud pointing to nextcloud_app:80 to the proxy, and upon opening said url NC forwarded me to the / of the y.domain.com. I know apache rewrite can do this kind of magic, but out of the box it's not working here, so I doubt only proxy config is enough. Probably custom config for fpm variant and custom rewrite config for apache variants because nginx/apache approach to this is different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs enhancement examples Compose/Dockerfile/etc
Projects
None yet
Development

No branches or pull requests

2 participants