diff --git a/Caddyfile b/Caddyfile index a6a2821..858c57d 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,12 +1,16 @@ -:8080 { - root * /usr/share/caddy - file_server - encode gzip zstd - handle_errors { - @404 { - expression {http.error.status_code} == 404 - } - rewrite @404 /404.html - file_server - } -} +{ + auto_https off +} + +:8080 { + root * /usr/share/caddy + file_server + encode gzip zstd + handle_errors { + @404 { + expression {http.error.status_code} == 404 + } + rewrite @404 /404.html + file_server + } +} diff --git a/Caddyfile.back b/Caddyfile.back new file mode 100644 index 0000000..2f346c4 --- /dev/null +++ b/Caddyfile.back @@ -0,0 +1,16 @@ +{ + auto_https off +} + +:8080 { + root * /usr/share/caddy + file_server + encode gzip zstd + handle_errors { + @404 { + expression {http.error.status_code} == 404 + } + rewrite @404 /404.html + file_server + } +}