feat(caddy): Ajoute l'authentification basique pour protéger les données.

This commit is contained in:
Serreau Jovann
2025-11-17 09:51:34 +01:00
parent 4aadc68e67
commit ea83bf28f2

View File

@@ -14,7 +14,10 @@ www.e-cosplay.fr {
handle_path /datas/* {
reverse_proxy 127.0.0.1:27502
}
basic_auth {
# Username "Bob", password "hiccup"
Bob $2a$14$Zkx19XLiW6VYouLHR5NmfOFU0z2GTNmpkT/5qqR7hx4IjWJPDhjvG
}
header {
-X-Robots-Tag
Permissions-Policy "accelerometer=(), autoplay=(), camera=(), clipboard-write=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=(), publickey-credentials-get=(), usb=(), vr=(), screen-wake-lock=(), xr-spatial-tracking=(), bluetooth=(), ambient-light-sensor=(), battery=(), gamepad=(), notifications=(), push=()"