1
IM实际使用nginx的作为我的web服务器即时试图否认使用这一切的子目录的访问:IP允许子目录访问NGINX
location/{
root /usr/share/nginx/html/project;
index index.html index.htm index.php;
}
location ~ ^/subdir/ {
allow 192.168.1.0/24;
deny all;
try_files $uri $uri/ /index_subdir.php?$query_string;
}
但nginx的尝试找出index_subdir.php项目文件夹内。
我希望你能帮我一把。
亲切的问候!
你好理查德史密斯,我已经按照你的建议和它的作品应用了更改!!! 非常感谢您的帮助。 亲切的问候! –