risotto/doc/dataset_example/seed/caddy-https/templates/risotto.caddyfile
2022-12-21 16:14:27 +01:00

18 lines
427 B
Text

# listen to all reverse proxy domains
https://%%caddy_domain {
# use certificate
# do not try to check zerossl and let's encrypt file
tls %%caddy_crt_file %%caddy_key_file {
ca_root %%caddy_ca_file
}
# log to the console
log {
output stdout
format console
level info
}
# root directory
root * %%caddy_root_directory
# it's a file server
file_server
}