Linux 允许指定IP访问目录

location ^~/目录名/{

allow +ip地址;

deny all;

include eneable-php.conf;

}

原文地址:https://www.cnblogs.com/paddygege/p/6401953.html