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

21 lines
530 B
Text
Raw Permalink Normal View History

2022-12-21 12:14:49 +01:00
# listen to all reverse proxy domains
%for %%domain in %%revprox_client_external_domainnames
https://%%domain {
# import reverse proxy certificate
# do not try to check zerossl and let's encrypt file
tls %%revprox_client_cert_file %%revprox_client_key_file {
ca_root %%revprox_client_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
}
%end for