nginx的log中记录协议类型

nginx默认的log format没有记录请求的协议类型,好比是http仍是https。nginx 作以下配置:spa log_format  main_log  '$remote_addr - $remote_user [$time_local] $scheme "$request" '                     '$status $body_bytes_sent "$http_
相关文章
相关标签/搜索