Most of my docker services are working.
However, Plex Media Sever is an external service (non-Docker) and whenever I type in plex.mydomain.com, it’s doesn’t get the certificate.
Second issue is my Jellyfin is also an external service and it redirect to www.jellyfin.mydomain instead htttps. If I type in https://jellyfin.mydomain.com, then it works fine.
4. Error messages and/or full log output:
Plex Media Server error:
Your connection to this site isn't secure.
5. What I already tried:
6. Links to relevant resources:
With the help of the above tutorial, I’ve just migrated my services from Traefik to Caddy.
Do I need to add a ‘transparent’ directive or something to fix this ?
You didn’t completely fill out the thread template so we can’t effectively help you. We need to know what your config looks like, what errors you’re seeing exactly, what’s in your logs, etc.
Those settings involve giving a certificate file to plex.tv itself. Presumably you would then point your domain at Plex’s own servers. This would mean you don’t need Caddy at all for your Plex site.
This is the error when I browse to my Plex subdomain:
Attackers might be trying to steal your information from plex.mydomain.com (for example, passwords, messages, or credit cards).
NET::ERR_CERT_COMMON_NAME_INVALID
Yes, they should be unnecessary. You can set them, but you can also have Caddy proxy to it without bothering.
Is port 80 open?
Hmm, this must be a rare one for Caddy. It is designed to refuse to give you a cert at all if it doesn’t have a matching cert, it shouldn’t give you an incorrect one.
Add debug to the global options of your Caddyfile, start Caddy, then run on the command line:
You should try first without CloudFlare in the mix and validate things work. If things work, you can move on to CloudFlare as that’s changing your DNS and making sure CloudFlare is setup right.
Your connection isn't private
Attackers might be trying to steal your information from plex.mydomain.com (for example,
passwords, messages, or credit cards).
NET::ERR_CERT_COMMON_NAME_INVALID
However, if I just enter the url without the port number 32400, I got a valid LetsEncrypt cert and access the site normally.
This application is at plex.mydomain.com and is not hosted by Plex. Continue only if you recognize this server and wish to grant access.