Yes, but only as a subdomain, i.e. plex.mydomain.com. The relevant Caddyfile sequence would be:Useful reference. Did you ever get Plex-pass working with Caddy?
plex.mydomain.com {
gzip
tls {
dns cloudflare # I use cloudflare
}
timeouts none
# Separate log file for Plex server
log /config/logs/plex_access.log {
rotate_size 1 # Rotate after 1 MB
rotate_age 7 # Keep log files for 7 days
rotate_keep 2 # Keep at most 2 log files
}
errors /config/logs/plex_error.log {
rotate_size 1 # Set max size 1 MB
rotate_age 7 # Keep log files for 7 days
rotate_keep 2 # Keep at most 2 log files
}
proxy / 192.168.1.10:32400 { # internal jail IP
transparent
}
}
I am not sure the formatting will paste well, but I trust you'll understand the syntax.