摘要:
1.修改配置,在http{}中添加 log_format access_json '{"@timestamp":"$time_iso8601",' '"host":"$server_addr",' '"clientip":"$remote_addr",' '"size":$body_bytes_se 阅读全文
posted @ 2019-10-12 18:44
tonglin0325
阅读(3474)
评论(0)
推荐(0)
摘要:
1.编辑配置文件 在http {}中添加如下 2.重启nginx 3.访问,成功 4.访问日志 阅读全文
posted @ 2019-10-12 18:32
tonglin0325
阅读(1612)
评论(0)
推荐(0)
摘要:
1.安装 sudo apt-get install nginx 2.启动 systemctl start nginx.service 如果和apache2的80端口冲突了,修改一下apache2的port sudo vim /etc/apache2/ports.conf 冲突的话,日志/var/lo 阅读全文
posted @ 2019-10-12 16:48
tonglin0325
阅读(155)
评论(0)
推荐(0)

浙公网安备 33010602011771号