owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.36k stars 179 forks source link

How to host the web service from a subpath? #9836

Open livingsilver94 opened 1 month ago

livingsilver94 commented 1 month ago

Describe the bug

I want to be able to host the web service from a subpath, e.g. https://example.com/ocis. It seems that's not currenlty possible since index.html has base href="/", even when I set the WEB_HTTP_ROOT environment variable to /ocis.

I also tried to edit the base href to base href="/ocis" from Caddy (using https://github.com/caddyserver/replace-response), but the login page is empty:

image

micbar commented 3 weeks ago

Did you try to change the ocis proxy config?