feat: сборка в nginx и режим превью (noindex, без контактов)

refs breazu/breazu#2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mbreazuandClaude Opus 5.5 committed 2026-10-08 16:59:26 +03:00
1 parent f2d89e7117
commit 4e6ab190d1
6 files changed
+35 -27

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# превью закрыто от поисковиков (breazu/breazu#2) — снять при открытии сайта
add_header X-Robots-Tag "noindex, nofollow" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
location / {
try_files $uri $uri/ =404;
}
}