-
Notifications
You must be signed in to change notification settings - Fork 46
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
Issue with caldav behind reverse proxy in a subfolder #117
Comments
I have found a some what working work around By changing the the base_uri to
But the the web gui is not 100% some things are not showing up as they should. |
When using the baikal:nginx docker image in a subdirectory behind a reverse proxy, the baikal base_uri setting doesn't work properly. Rewriting the URI in the reverse proxy doesn't work nicely, so I fixed it in the nginx config. Now the well-known URIs and the admin interface seem to work, as well as the DAV endpoints. Since this change hardcodes the subdirectory, it can't be upstreamed, but may serve as an example to work around the issue. Note you also need `base_uri: /dav/` in baikal.yaml.
I like the commit from @jtsymon, it's very straight-forward and simple. Not sure yet if/how to incorporate that into the images, either
|
I think including a self signed certificate might improve things for a lot of users. At the end of the day, there's no tinkering involved here once the setup is up and running and so, a self signed certificate would work fine. Linuxserver io image of Nextcloud, for example, includes a self signed certificate. Kindly consider including something like that if it isn't too much trouble. |
Hi @n00b12345, I think that's a separate ask unrelated to this - if you want, then let's capture this in a new issue. Btw: the Apache httpd container image comes with a self-signed certificate. It's not something I personally actually like, but we can discuss this in the separate issue. |
Thank you so much for responding. I have created a discussion thread. |
I'm trying to get Baikal working behind a reverse proxy in http://server.domain.com/davcal
I have managed to get the web gui working some what via setting the option base_uri in the baikal.yaml file.
Initial page works well, but after hitting login and providing the admin account the server redirects me to http://server.domain.com/admin. Where the correct URI should be /davcal/admin
It also looks like the dav.php file dose not like being called via /baikal/dav.php
I've tried running both Nginx and Caddy as reverse proxy web servers with out any look.
My current config is running Caddy
Baikal:
When accessing /baikal/dav.php
What I'm I doing wrong?
The text was updated successfully, but these errors were encountered: