fix page lookup for error page

This commit is contained in:
OCram85 2022-01-03 08:40:05 +01:00
parent e483e91e46
commit 8375ed8336

View File

@ -2,8 +2,6 @@
root * /usr/share/caddy
file_server
encode gzip zstd
try_files {path}.html {path} /
handle_errors {
@404 {
expression {http.error.status_code} == 404