dis-bench / src /php /php-src /ext /curl /tests /Caddyfile
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
516 Bytes
{
admin off
auto_https disable_redirects
}
localhost
respond / "Caddy is up and running"
# HTTP/2 Server Push
respond /serverpush "main response"
respond /serverpush/pushed "pushed response"
push /serverpush /serverpush/pushed
route /show_upload_size {
templates
respond `Content-length: ={{.Req.Header.Get "Content-length"}}=`
}
basic_auth /http-basic-auth {
# bcrypt password hash for "password", calculated with 'caddy hash-password'
user $2a$14$yUKl9SGqVTAAqPTzLup.DefsbXXx3kfreNnzpJOUHcIrKnr5lgef2
}