vsoko conf changes

This commit is contained in:
F4ilji
2026-07-04 20:03:19 +05:00
parent b94e0aad87
commit b6140b77f5
+12
View File
@@ -108,6 +108,18 @@ server {
return 301 /abitur/; return 301 /abitur/;
} }
location /vsoko/ {
alias /var/www/public/vsoko/;
index index.html;
try_files $uri $uri/ /vsoko/index.html;
expires epoch;
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
}
location = /vsoko {
return 301 /vsoko/;
}
# ============================================ # ============================================
# SECURITY: Запрет доступа к чувствительным файлам # SECURITY: Запрет доступа к чувствительным файлам
# ============================================ # ============================================