vsoko conf changes
This commit is contained in:
@@ -108,6 +108,18 @@ server {
|
||||
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: Запрет доступа к чувствительным файлам
|
||||
# ============================================
|
||||
|
||||
Reference in New Issue
Block a user