ваше сообщение коммита
This commit is contained in:
@@ -43,6 +43,12 @@ http {
|
||||
add_header Vary Accept-Encoding;
|
||||
}
|
||||
|
||||
# Запрет на доступ к чувствительным файлам
|
||||
location ~* /(sendgrid\.env|env\.js|config\.js|aws-exports\.js|firebase-config\.js|firebase\.js|settings\.js|app-settings\.js|config\.json|credentials\.json|secrets\.json)$ {
|
||||
deny all;
|
||||
return 403;
|
||||
}
|
||||
|
||||
# Основные файлы HTML
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
||||
Reference in New Issue
Block a user