nginx.conf

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nginx.conf相关的知识,希望对你有一定的参考价值。

log_format xxx ‘remote_addr=[$remote_addr] http_x_forward=[$http_x_forwarded_for] time=[$time_local] request=[$request] ‘
‘status=[$status] byte=[$bytes_sent] elapsed=[$request_time] upstream_connect_time=[$upstream_connect_time] upstream_response_time=[$upstream_response_time] ‘
‘refer=[$http_referer] body=[$request_body] ua=[$http_user_agent] cookie=[$http_cookie] gzip=[$gzip_ratio] ‘
‘msec=[$msec] http_host=[$http_host] http_accept=[$http_accept|$http_accept_encoding|$http_accept_language] ‘
‘sent_http_set_cookie=[$sent_http_set_cookie]‘;

以上是关于nginx.conf的主要内容,如果未能解决你的问题,请参考以下文章