把以下配置放到server{}块.#关闭favicon.ico不存在时记录日志location=/favicon.ico{log_not_foundoff;access_logoff;}location=/robots.txt{allowall;log_not_foundoff;access_logoff;}不允许访问隐藏文件例如.htaccess,.htpasswd,.DS_Store(Mac)
zabbix5.4部署
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号