feat: новая функция

This commit is contained in:
2025-11-13 11:30:55 +03:00
parent d48afcfd6a
commit 4ab155c406
5 changed files with 57 additions and 14 deletions

View File

@@ -38,6 +38,12 @@ http {
add_header X-XSS-Protection "1; mode=block" always;
}
# Certbot webroot для автоматического получения SSL сертификатов
location /.well-known/acme-challenge/ {
root /var/www/certbot;
try_files $uri $uri/ =404;
}
# Статические файлы
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
expires 1y;