20 lines
571 B
Caddyfile
20 lines
571 B
Caddyfile
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"
|
|
}
|