I have Caddy set as a proxy server with plex, radarr, sonarr and qbit all configured (apart from qbit, separate issue there). However each time i connect to the sites, i am only getting a Fake LE intermediate certificate and therefore the site is not secure.
My Caddyfile:
mydomain {
ext .html .htm .php
root C:/caddy
gzip
tls email {
ca https://acme-staging-v02.api.letsencrypt.org/directory
}
tls mydomain {
max_certs 1000
}
log request.log {
rotate_size 5
rotate_age 7
rotate_keep 4
}
{
errors /caddy/error.log {
rotate_size 5
rotate_age 7
rotate_keep 4
}
}
header / {
X-Content-Type-Options nosniff
X-XSS-Protection "1; mode=block"
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
}
proxy /radarr 127.0.0.1:7878 {
transparent
}
proxy /sonarr localhost:8989 {
websocket
transparent
}
proxy /web 127.0.0.1:32400 {
transparent
}
proxy /torrent 10.1.1.90:1996 {
transparent
}
proxy /login localhost:5000 {
transparent
}
fastcgi / 127.0.0.1:9000 php
}
ext .html .htm .php
root /caddy
gzip
proxy /radarr 127.0.0.1:7878 {
transparent
}
proxy /sonarr localhost:8989 {
websocket
transparent
}
proxy /web 127.0.0.1:32400 {
transparent
}
proxy /torrent 10.1.1.90:1996 {
transparent
}
proxy /login localhost:5000 {
transparent
}
tls {
max_certs 100
}
}
Not sure if this is a Caddy or letsencrypt issue?