location ^~ /admin.php {
            allow 218.93.***.**;
            deny all;
            fastcgi_pass  unix:/tmp/php-cgi.sock;
            fastcgi_index index.php;
            include fastcgi.conf;
            include pathinfo.conf;
        }

        多个ip访问;
   	location ^~ /admin.php {
            allow 218.93.***.**;
            allow 218.93.***.**;
	     deny all;

	    fastcgi_pass  unix:/tmp/php-cgi.sock;
	    fastcgi_index index.php;
	    include fastcgi.conf;
	    include enable-php-pathinfo.conf;
	}

相关文章:

  • 2021-09-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2021-10-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2021-07-15
  • 2021-10-26
  • 2022-12-23
相关资源
相似解决方案