# 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
}