risotto/doc/dataset_example/seed/caddy-https/templates/risotto.caddyfile

19 lines
427 B
Text
Raw Normal View History

2022-12-21 12:14:49 +01:00
# 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
}