后台指定ip才可以访问

时间:2021-05-18 12:30:48   收藏:0   阅读:16
        location ^~ /admin.php {
            #allow 218.93.209.11;
            #deny all;
            fastcgi_pass  unix:/tmp/php-cgi.sock;
            #fastcgi_pass  127.0.0.1:9000;
            fastcgi_index index.php;
            include fastcgi.conf;
            include pathinfo.conf;
        }

原文:https://www.cnblogs.com/pansidong/p/14779802.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!