ваше сообщение коммита
This commit is contained in:
@@ -36,6 +36,12 @@ server {
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
# Запрет на доступ к чувствительным файлам
|
||||
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;
|
||||
}
|
||||
|
||||
# Основные страницы
|
||||
location / {
|
||||
proxy_pass http://localhost:9000;
|
||||
|
||||
Reference in New Issue
Block a user