Closed proess880 closed 5 days ago
URL_PREFIX: /metube handle_path /metube/* { ~uri strip_prefix /metube~
or
URL_PREFIX: / handle_path /metube/* { uri strip_prefix /metube
it only worked after setting URL_PREFIX: / and accessing with https://services.mydomain.com/metube/ (Notice the trailing slash is important) Which kinda makes URL_PREFIX obsolete
Caddyfile
https://services.mydomain.com {
handle_path /metube/* {
reverse_proxy http://metube:8081
}
}
I want to deply metub behind Caddy (docker) as a reverse proxy. However i am unable to get it redirected properly.
docker-compose.yml
Caddyfile
but i get an infinite redirect loop
And the logs of the container there are errors