Some checks failed
deploy / deploy (push) Failing after 14s
- Главная: hero, адрес Люблинская 100 (Аквапарк ФЭНТАЗИ), 4 кликабельных tel:, карта Яндекса - /privacy: политика 152-ФЗ + ConsentRevoke (отозвать/сбросить) - Аналитика перенесена 1:1 с WP: Яндекс.Метрика 47169531 (Webvisor) + GA4 GT-WRF7ZZ8 - Скрипты в type=text/plain, активируются после согласия (pit-consent в localStorage+cookie) - robots.txt с явным Allow для GPTBot/ClaudeBot/PerplexityBot/Google-Extended/CCBot - llms.txt + ai.txt (spawning.ai стандарт) - IndexNow ключ 901a779d62ca4702ad810c863b45e1f7 - JSON-LD AutoPartsStore с адресом и 4 телефонами - nginx:1.29-alpine runtime, контейнер на :4147 - Gitea Actions deploy.yml + Trivy scan + IndexNow ping
58 lines
1.6 KiB
Nginx Configuration File
58 lines
1.6 KiB
Nginx Configuration File
# nginx-конфиг внутри контейнера. TLS терминируется на хосте (web.hhivp.com).
|
|
server {
|
|
listen 80 default_server;
|
|
server_name _;
|
|
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
access_log /dev/stdout;
|
|
error_log /dev/stderr warn;
|
|
|
|
location ~ /\.(?!well-known) {
|
|
deny all;
|
|
log_not_found off;
|
|
access_log off;
|
|
}
|
|
|
|
gzip on;
|
|
gzip_vary on;
|
|
gzip_min_length 256;
|
|
gzip_proxied any;
|
|
gzip_comp_level 6;
|
|
gzip_types
|
|
text/plain text/css text/xml
|
|
application/json application/xml
|
|
application/javascript application/x-javascript
|
|
image/svg+xml font/woff2;
|
|
|
|
location = /sitemap.txt { default_type text/plain; charset utf-8; }
|
|
location = /robots.txt { default_type text/plain; charset utf-8; }
|
|
location = /ai.txt { default_type text/plain; charset utf-8; }
|
|
location = /llms.txt { default_type text/plain; charset utf-8; }
|
|
|
|
location /_astro/ {
|
|
expires 1y;
|
|
add_header Cache-Control "public, immutable, max-age=31536000";
|
|
access_log off;
|
|
}
|
|
location ~* \.(?:css|js|woff2?|ttf|otf|eot)$ {
|
|
expires 30d;
|
|
add_header Cache-Control "public, max-age=2592000";
|
|
access_log off;
|
|
}
|
|
location ~* \.(?:png|jpe?g|gif|svg|webp|avif|ico)$ {
|
|
expires 30d;
|
|
add_header Cache-Control "public, max-age=2592000";
|
|
access_log off;
|
|
}
|
|
|
|
# Маршрутизация: Astro генерит dir/index.html
|
|
location / {
|
|
try_files $uri $uri/ $uri.html =404;
|
|
}
|
|
|
|
error_page 404 /404.html;
|
|
location = /404.html { internal; }
|
|
}
|