nginx指定部分ip可访问

直接上代码。
location /login
{
    allow 192.168.0.0/24;
    deny all;
	
    #......
}
posted @ 2023-07-11 15:36  sherlock-merlin  阅读(116)  评论(0编辑  收藏  举报