1. Caddy version (caddy version
):v2.4.6 h1:HGkGICFGvyrodcqOOclHKfvJC0qTU7vny/7FhYp9hNw=
2. How I run Caddy: caddy start
a. System environment: Windows 10
d. My complete Caddyfile or JSON config:
domains {
tls email@gmail.com
basicauth /movies/* {
user PasswordHash }
basicauth /series/* {
user PasswordHash
}
redir /movies /movies/ 308
redir /series /series/ 308
redir /overseerr /overseerr/ 308
reverse_proxy /movies/* localhost:7878
reverse_proxy /series/* localhost:8989
route /overseerr/* {
uri strip_prefix /overseerr
reverse_proxy http://192.168.2.1:5055
}
log {
output file access.log
}
}
3. The problem I’m having:
I’m trying to get Overseerr working with reverse_proxy.
When I goto https://my.domain.tld/overseerr it redirects me to https://my.domain.tld/login instead of https://my.domain.tld/overseerr/login
If I remove the uri strip_prefix /overseerr
I get the following: ERR_TOO_MANY_REDIRECTS
4. Error messages and/or full log output:
5. What I already tried:
rewrite /login* /overseerr/login