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_
相關文章
相關標籤/搜索