Skip to content

Commit cab120f

Browse files
committed
ext/curl: update Caddyfile basicauth to basic_auth
In Caddy 2.8, `basicauth` was renamed to `basic_auth`. This also applies `caddy fmt Caddyfile --overwrite` changes.
1 parent fe8d39a commit cab120f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/curl/tests/Caddyfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ respond /serverpush "main response"
1212
respond /serverpush/pushed "pushed response"
1313
push /serverpush /serverpush/pushed
1414

15-
basicauth /http-basic-auth {
16-
# bcrypt password hash for "password", calculated with 'caddy hash-password'
17-
user $2a$14$yUKl9SGqVTAAqPTzLup.DefsbXXx3kfreNnzpJOUHcIrKnr5lgef2
15+
basic_auth /http-basic-auth {
16+
# bcrypt password hash for "password", calculated with 'caddy hash-password'
17+
user $2a$14$yUKl9SGqVTAAqPTzLup.DefsbXXx3kfreNnzpJOUHcIrKnr5lgef2
1818
}

0 commit comments

Comments
 (0)