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 @   ascertain  阅读(61)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
历史上的今天:
2021-05-14 MySQL 批量删除表
点击右上角即可分享
微信分享提示