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項目文件夾內。
我希望你能幫我一把。
親切的問候!
你好理查德史密斯,我已經按照你的建議和它的作品應用了更改!!! 非常感謝您的幫助。 親切的問候! –