Fixing bug in Caddyfile with the '/views.php?view=File*' path.
Caddyfile expects all path specific 'matchers' to begin with a '/' https://caddyserver.com/docs/caddyfile/matchers#syntax
This commit is contained in:
@@ -212,7 +212,7 @@ http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
|
|||||||
handle /Charts/* {
|
handle /Charts/* {
|
||||||
file_server browse
|
file_server browse
|
||||||
}
|
}
|
||||||
basicauth views.php?view=File* {
|
basicauth /views.php?view=File* {
|
||||||
birdnet ${HASHWORD}
|
birdnet ${HASHWORD}
|
||||||
}
|
}
|
||||||
basicauth /Processed* {
|
basicauth /Processed* {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ http://localhost http://$(hostname).local ${BIRDNETPI_URL} {
|
|||||||
handle /Charts/* {
|
handle /Charts/* {
|
||||||
file_server browse
|
file_server browse
|
||||||
}
|
}
|
||||||
basicauth views.php?view=File* {
|
basicauth /views.php?view=File* {
|
||||||
birdnet ${HASHWORD}
|
birdnet ${HASHWORD}
|
||||||
}
|
}
|
||||||
basicauth /Processed* {
|
basicauth /Processed* {
|
||||||
|
|||||||
Reference in New Issue
Block a user