ваше сообщение коммита

This commit is contained in:
2025-12-24 14:46:30 +03:00
parent c02d0a38ac
commit 37d6072cf2
11 changed files with 1956 additions and 57 deletions

View File

@@ -141,6 +141,17 @@ http {
add_header Permissions-Policy "geolocation=(), microphone=(), camera=()" always;
}
# Pre-rendered blog pages (SEO optimization)
location /blog {
root /usr/share/nginx/html;
try_files $uri $uri.html /blog/index.html /index.html;
# Заголовки для SEO
add_header Cache-Control "public, max-age=3600";
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
}
# Статические файлы
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
expires 1y;