摘要: 敏感文件限制访问: location ~ /\.ht { deny all; } location ~* \.(ini|conf|txt|log|gitignore|sql|bak|inc|old|sh)$ { deny all; } location ~ .*\.(svn|git) { deny 阅读全文
posted @ 2022-04-14 22:45 我要的我现在就要 阅读(537) 评论(0) 推荐(0)
摘要: **centos7.5 + nginx-1.16.1+mysql-5.6+php-7.2.24** ~~~ 配置文件位置: nginx:/mnt/data/apps/nginx/conf/nginx.conf mysql:/etc/my.cnf php7:/mnt/data/apps/php7/et 阅读全文
posted @ 2022-04-14 22:36 我要的我现在就要 阅读(530) 评论(0) 推荐(0)