return 404;
}
location =/config.ini{
return 404;
}
這樣只能禁止訪問 //www.31idc.com/path/
復(fù)制代碼代碼如下:
location = /path/ {
return 404;
}
禁止訪問 //www.31idc.com/path/test.php
復(fù)制代碼代碼如下:
location ^~ /test
{
deny all;
}
可能test要換成path.
return 404;
}
location =/config.ini{
return 404;
}
這樣只能禁止訪問 //www.31idc.com/path/
復(fù)制代碼代碼如下:
location = /path/ {
return 404;
}
禁止訪問 //www.31idc.com/path/test.php
復(fù)制代碼代碼如下:
location ^~ /test
{
deny all;
}
可能test要換成path.
Hong Kong
+852 5104 3232
立即參與
意
見
箱