36 lines
1.3 KiB
Django/Jinja
36 lines
1.3 KiB
Django/Jinja
www.e-cosplay.fr {
|
|
tls {
|
|
dns cloudflare Kq_hpaH_ng-hAeGsJo6KhQb2TxYW1v6lRGE84aOR
|
|
}
|
|
root * {{ path }}/public
|
|
|
|
file_server
|
|
request_body {
|
|
max_size 100MB
|
|
}
|
|
route {
|
|
file_server /ts.js
|
|
redir https://widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js
|
|
}
|
|
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=()"
|
|
Content-Security-Policy "default-src 'self'; script-src 'self' *.cloudflareinsights.com 'unsafe-inline'; style-src 'self' 'unsafe-inline' fonts.googleapis.com; font-src 'self' fonts.gstatic.com; img-src 'self'; object-src 'none'; frame-ancestors 'none';"
|
|
}
|
|
|
|
php_fastcgi unix//run/php/php8.3-fpm.sock {
|
|
read_timeout 300s
|
|
write_timeout 300s
|
|
dial_timeout 100s
|
|
env HTTP_PROXY ""
|
|
}
|
|
}
|
|
|
|
e-coslay.fr {
|
|
tls {
|
|
dns cloudflare Kq_hpaH_ng-hAeGsJo6KhQb2TxYW1v6lRGE84aOR
|
|
}
|
|
redir https://www.{host}{uri}
|
|
}
|