This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/caddy/config/conf.d/cloud.serguzim.me.conf

13 lines
494 B
Text

cloud.serguzim.me {
import default
reverse_proxy host.docker.internal:3015
redir /.well-known/host-meta /public.php?service=host-meta 301
redir /.well-known/host-meta.json /public.php?service=host-meta-json 301
redir /.well-known/webfinger /public.php?service=webfinger 301
redir /.well-known/carddav /remote.php/dav/ 301
redir /.well-known/caldav /remote.php/dav/ 301
header Strict-Transport-Security "max-age=15552000; includeSubdomains;"
}