Nginx закрываем доступ
Админка
location / {
root /var/www/mikbill/admin;
index index.php;
try_files $uri $uri/ /index.php?$args;
allow 11.16.14.0/20;
deny all;
}
Pma
location ~* ^/res/pma/ {
allow 31.186.71.15;
allow 31.186.78.0;
deny all;
}
location / {
root /var/www/mikbill/admin;
index index.php;
try_files $uri $uri/ /index.php?$args;
allow 11.16.14.0/20;
deny all;
}
Pma
location ~* ^/res/pma/ {
allow 31.186.71.15;
allow 31.186.78.0;
deny all;
}
Комментарии
Отправить комментарий