Nginx(Logs)

1.我们进行logs日志的编写配置:

listen是监听端口; root 是访问路径; server_name 是虚拟域名; location / 是默认访问根路径; access_log 是设置日志文件;

猜你喜欢

转载自www.cnblogs.com/Jackey-fighting/p/9103274.html