Nginx中间件 - 日志类型


包括:error.log  access.log

log_format

Syntax: log_format name [escape=default|json] string ...;

Default: log_format combined "...";

Context:http

Nginx变量:

HTTP请求变量 - arg_PARAMETER、http_HEADER、send_http_HEADER

内置变量 - Nginx内置的

https://nginx.org/en/docs/http/ngx_http_core_module.html#var_status

自定义变量 - 自己定义

test2026-06-11 14:45