fix page lookup for error page
This commit is contained in:
parent
e483e91e46
commit
8375ed8336
@ -2,8 +2,6 @@
|
|||||||
root * /usr/share/caddy
|
root * /usr/share/caddy
|
||||||
file_server
|
file_server
|
||||||
encode gzip zstd
|
encode gzip zstd
|
||||||
try_files {path}.html {path} /
|
|
||||||
|
|
||||||
handle_errors {
|
handle_errors {
|
||||||
@404 {
|
@404 {
|
||||||
expression {http.error.status_code} == 404
|
expression {http.error.status_code} == 404
|
||||||
|
Loading…
Reference in New Issue
Block a user