Created
September 21, 2017 16:19
-
-
Save mabitt/a3b6f030e57409bdd7266226e16419ac to your computer and use it in GitHub Desktop.
Caddyserver ssl terminator conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:80 { | |
redir 301 { | |
/ https://{host}{uri} | |
} | |
} | |
:443 { | |
gzip | |
proxy / backend:80 { | |
policy round_robin | |
transparent | |
} | |
tls [email protected] { | |
max_certs 10 | |
# ca https://acme-staging.api.letsencrypt.org/directory | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment