feat(ansible/caddy): Ajoute une redirection pour ts.js et corrige le proxy inverse.

This commit is contained in:
Serreau Jovann
2025-11-17 09:42:13 +01:00
parent cc49c5451d
commit 8a838dd244

View File

@@ -8,11 +8,13 @@ www.e-cosplay.fr {
request_body {
max_size 100MB
}
handle_path /datas/* {
handle_path /ts.js {
redir https://widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js
}
handle_path /datas/* {
reverse_proxy 127.0.0.1:27502
}
reverse_proxy /datas* 127.0.0.1:27502
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=()"