只需一步,快速开始
举报
adminisd 发表于 2021-10-11 10:05 注释掉写日志的配置不就行了?access_log
h202 发表于 2021-10-11 10:07 根本没配置access_log和error_log 但是Nginx依旧会生成访问日志 这个就很奇怪
adminisd 发表于 2021-10-11 10:14 那就写access_log off;
h202 发表于 2021-10-11 10:16 往哪个位置写? ~/nginx/conf/nginx.conf这个配置文件http块里写 还是往网站的~/nginx/conf/conf.d/*.conf ...
adminisd 发表于 2021-10-11 10:52 你可以百度一下
h202 发表于 2021-10-11 11:24 百度了一通也没说具体的怎么搞 也没个demo示范文件
adminisd 发表于 2021-10-11 11:29 https://qastack.cn/server/318574/how-to-disable-nginx-logging
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2025-4-30 12:24 , Processed in 0.065934 second(s), 9 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.