mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Adds support for `CURLOPT_SSL_SIGNATURE_ALGORITHMS`[^1], supported since Curl version 8.14.0. [^1]: https://curl.se/libcurl/c/CURLOPT_SSL_SIGNATURE_ALGORITHMS.html Closes GH-18692
29 lines
560 B
Caddyfile
29 lines
560 B
Caddyfile
{
|
|
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
|
|
}
|
|
|
|
route /ping {
|
|
templates
|
|
respond `pong`
|
|
}
|