Skip to content

Caddyfile Example (directory listing and basicauth)

Last updated on January 16, 2021

domain.com {
        basicauth / {
                test hashpassword_generated_by_caddy-hash-password
        }
        root *  /www
        file_server browse
}

Published inLinux

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *