docker-compose-collection/caddy/Caddyfile

20 lines
571 B
Caddyfile
Raw Normal View History

2023-09-30 21:24:51 +08:00
example.com {
tls /ssl/certs/fullchain.cer /ssl/certs/example.com.key
reverse_proxy http://192.168.xx.xx:xxxx
}
https://example.com {
tls /ssl/certs/fullchain.cer /ssl/certs/example.net.key
reverse_proxy https://192.168.xx.x {
transport http {
tls
tls_insecure_skip_verify
}
}
}
example.com {
tls /ssl/certs/fullchain.cer /ssl/certs/example.com.key
reverse_proxy http://192.168.xx.xx
header Referrer-Policy no-referrer
header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive"
}