Translate

2016年10月27日 星期四

nginx 限制某些ip 拜訪目錄 Nginx limit ip to access directories

EX:

location = /adm/phpMyAdmin/ {    #path
allow 123.51.171.224/24;       #ip
deny all;
}

沒有留言:

張貼留言