✨ feat(ansible/caddy): Ajoute une redirection pour ts.js et corrige le proxy inverse.
This commit is contained in:
@@ -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=()"
|
||||
|
||||
Reference in New Issue
Block a user