# https://caddyserver.com/docs/metrics :9000 { metrics } subdomain.domain.tld { reverse_proxy ${local_ip}:${port} # https://caddyserver.com/docs/caddyfile/directives/basic_auth basic_auth { Username hashed_password } log } # This is an example based on the docker-compose.yml contained # in the memos folder memos.domain.tld { reverse_proxy 192.168.1.128:9000 encode zstd gzip log }