<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ### HttpLog模塊 ngx_http_log_module 實例 ~~~ log_format gzip '$remote_addr - $remote_user [$time_local] ' : '"$request" $status $bytes_sent ' : '"$http_referer" "$http_user_agent" "$gzip_ratio"'; access_log /spool/logs/nginx-access.log gzip buffer=32k; ~~~ ### 指令 - access_log - log_format ### access_log **語法:***access_log path [format [buffer=size | off* ] **默認值:***access_log log/access.log combined* **作用域:***http, server, location* 指令 access_log 指派路徑、格式和緩存大小。參數 "off" 將清除當前級別的所有 access_log 指令。如果未指定格式,則使用預置的 "combined" 格式。緩存不能大于能寫入磁盤的文件的最大大小。在 FreeBSD 3.0-6.0 ,緩存大小無此限制。 ### log_format **語法:***log_format name format [format ...]* **默認值:***log_format combined "..."* **作用域:***http**server* Directive log_format describes the format of a log entry. Besides general variables in the format it is possible to use variables which exist only at the moment of record into the log: - $body_bytes_sent, the number of bytes, transmitted to client minus the response headers, variable is compatible with parameter?%B of module Apache's mod_log_config (this was called $apache_bytes_sent, before version 0.3.10) - $bytes_sent, the number of bytes, transmitted to client - $connection, the number of connection - $msec, the time with an accuracy to microseconds at the moment of the log entry - $pipe, "p" if request was pipelining - $request_length, the length of the body of the request - $request_time, the time of working on request in seconds - $status, status of answer - $time_local, local time into common log format. The headers, transmitted to client, begin from the prefix "sent_http_", for example, $sent_http_content_range. In the configuration there is always a predetermined format "combined": ~~~ log_format combined '$remote_addr - $remote_user [$time_local] ' : '"$request" $status $apache_bytes_sent ' : '"$http_referer" "$http_user_agent"'; ~~~ ### 參考 [原始文檔](http://sysoev.ru/nginx/docs/http/ngx_http_log_module.html "http://sysoev.ru/nginx/docs/http/ngx_http_log_module.html")
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看