1
0
mirror of synced 2026-03-26 05:29:59 +01:00
Files
hassio-addons/baikal/rootfs/etc/nginx/includes/server_params.conf
2022-12-14 10:48:06 +01:00

22 lines
398 B
Plaintext

server_name $hostname;
root /data/html;
index index.php;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
client_max_body_size 64M;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~* .(jpg|jpeg|png|gif|ico|css|js)$ {
expires 365d;
}
location ~ /\.ht {
deny all;
}