18 lines
605 B
Nginx Configuration File
18 lines
605 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name lang.kube5s.ru;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
# Агрессивный запрет кеширования — Chrome HSTS/cache bypass
|
|
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0" always;
|
|
add_header Pragma "no-cache" always;
|
|
add_header Expires "0" always;
|
|
add_header X-Content-Type-Options "nosniff" always;
|
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
}
|