From db9a34579f0dcefcce0a66f218ce78180aeeddeb Mon Sep 17 00:00:00 2001 From: alexander Date: Sun, 18 Jan 2026 23:51:29 +0100 Subject: [PATCH] Added "Prototection" --- Caddyfile | 10 ++++++++-- Dockerfile | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Caddyfile b/Caddyfile index d0cef44..4321ea1 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,6 +1,12 @@ :8000 { root * /www - file_server - encode gzip + basic_auth /* bcrypt { + # fsei, fsei + fsei $2a$10$LfHwTJ70tvvYL7q5wved2e6DgRrB5xpDXM2SM9tryazKwSEq6/wFC + 123 $2a$10$qg47SkDZvTz6C8/jh2GVY.blpIfzIUVUAyF.inAa3AD/zb7KecD8G + ei $2a$10$RKMEtHT7hHFGhl1gSfx4Se9K.YyEQ0nvM/DxoOvpg/XdhULTANcoq + } + + file_server } \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index faf1d83..840946b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,3 +11,4 @@ FROM caddy:latest AS serve COPY --from=build /workdir/out/ /www/ COPY --from=build /workdir/Caddyfile /etc/caddy/Caddyfile +RUN caddy validate --config /etc/caddy/Caddyfile \ No newline at end of file