如何利用nginx
禁止php访问,下面web建站小编给大家简单介绍一下nginx
的具体配置方法!
具体代码如下:
server { listen 80; server_name www.dmtest.com; location / { root html; index index.php index.html index.htm; } location ~ ^/images/.*\.(php|php5|sh|pl|py)$ { deny all; } location ~ ^/static/.*\.(php|php5|sh|pl|py)$ { deny all; } location ~ ^/data/(attachment|avatar).*\.(php|php5)$ { deny all; } ...... ...... }
上面是“如何利用nginx禁止php访问”的全面内容,想了解更多关于 前端知识 内容,请继续关注web建站教程。
当前网址:https://ipkd.cn/webs_4515.html
workflows工作流
1个黑发带着耳机项链的女孩ComfyUI工作流
一只可爱的小鸟在飞翔ComfyUI工作流
一群蚂蚁在路上忙碌着ComfyUI工作流
一座千年九尾白狐玉雕ComfyUI工作流
严寒的冬天里一只小鸟在森林的树枝上休息
一支令人难忘的狙击步枪ComfyUI工作流
爱因斯坦在做实验3d动漫ComfyUI工作流
一只张大嘴巴露出锋利的牙齿正在咆哮的雪豹
猜你喜欢
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!