Issues with caddy as reverse proxy #1605
Replies: 10 comments
-
This stanza worked for me when I was using auth in Caddy (I now switched to using Radicale auth):
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your hint but unfortunately this still does not work as I serve Radicale via a location |
Beta Was this translation helpful? Give feedback.
-
Oh, I think you need to rewrite the URL to remove that path component. |
Beta Was this translation helpful? Give feedback.
-
Well if I rewrite the URL the proxy part would not trigger anymore if I am not mistaken as it will match against the rewritten URL. The easiest solution would be for Radicale to support some "baseurl" but I could not find anything in the documentation. |
Beta Was this translation helpful? Give feedback.
-
My experience with Radicale is that it works very well if you can get it working, but that it takes many hours of effort to do that. I think your best bet would be to rewrite the URL while sending upstream, it shouldn't match the rewritten URL if you do it after the match has occurred. |
Beta Was this translation helpful? Give feedback.
-
I am not sure I quite understand what you mean. I can not rewrite the URL after a proxy triggers, can I? How would caddy know to add the |
Beta Was this translation helpful? Give feedback.
-
Ahh, that's what you meant. Sorry, I thought you needed to strip the |
Beta Was this translation helpful? Give feedback.
-
I am unable to make any of these work with 2.0. I am trying with
|
Beta Was this translation helpful? Give feedback.
-
Does the work for me. |
Beta Was this translation helpful? Give feedback.
-
looks like fixed since long time |
Beta Was this translation helpful? Give feedback.
-
For some time I am trying to use Caddy as my reverse proxy server for a radicale docker container. Since there are only example configs for Apache and Nginx I tried to adapt those to caddy. However when I have following config file I get a HTTP Basic Auth request:
Radicale - Password Required
and after entering my credentials Radicale flashes meAccess to the requested resource forbidden
.Documentation says the server has to remove
location
from the path but adding awithout
directive causes Caddy to throw a 404 on me as there is no location/.web
.Beta Was this translation helpful? Give feedback.
All reactions