Nginx: variable

Alphabetical index of variables (nginx.org)

ngx_http_core_module           模块变量         Module ngx_http_core_module (nginx.org)

ngx_http_upstream_module  模块变量         Module ngx_http_upstream_module (nginx.org)

ngx_http_proxy_module         模块变量        Module ngx_http_proxy_module (nginx.org)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

    server {
        listen       8080;
        listen       [::]:80;
        server_name  vend.intrinsic.io *.intrinsic.io;
        root         /usr/share/nginx/html;
        error_log /var/log/nginx/error.log debug;
        rewrite_log on;
        location / {
            limit_rate 10k;
            return 205 '
                args: $args, arg_a: $arg_a, arg_b: $arg_b
                connection: $connection, connection_requests: $connection_requests
                cookie_a: $cookie_a, cookie_b: $cookie_b
                uri: $uri, request_uri: $request_uri
                request: $request, request_id: $request_id
                server_addr: $server_addr, server_name: $server_name, server_port: $server_port, server_protocol: $server_protocol
                tcpinfo_rtt: $tcpinfo_rtt, tcpinfo_rttvar: $tcpinfo_rttvar, tcpinfo_snd_cwnd: $tcpinfo_snd_cwnd, tcpinfo_rcv_space: $tcpinfo_rcv_space
                host: $host, http_host: $http_host, hostname: $hostname
                limit_rate: $limit_rate
                content_length: $content_length
                status: $status
                body_bytes_sent: $body_bytes_sent, bytes_sent: $bytes_sent
                request_time: $request_time, msec: $msec,time_iso8601: $time_iso8601,time_local: $time_local
                ';
        }

 

posted @ 2022-05-14 17:56  ascertain  阅读(57)  评论(0编辑  收藏  举报