<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ## 基本功能 1. 用戶請求以/結尾時,列出目錄結構; 2. 最常見的場景就是在公司搭建一些下載文件的平臺; ## 常用指令 1. autoindex; 2. autoindex_exact_size; 3. autoindex_format; 4. autoindex_localtime; ## autoindex 語法: ``` autoindex on | off; //默認是不打開的,除非是公司內網,否則不安全 ``` 默認值; ``` autoindex off; ``` 上下文: ``` http | server | location ``` ## autoindex_exact_size 語法: ``` autoindex_exact_size on | off; ``` 默認值; ``` autoindex_exact_size on; //默認顯示文件的大小,精確到字節 ``` 上下文: ``` http | server | location ``` ## autoindex_format 語法: ``` autoindex_format html | xml | json | jsonp; ``` 默認值; ``` autoindex_format html; //默認是以HTML格式返回,只有HTML格式才可以下載 ``` 上下文: ``` http | server | location ``` ## autoindex_localtime 語法: ``` autoindex_localtime on | off; ``` 默認值; ``` autoindex_localtime off; //默認時間格式 ``` 上下文: ``` http | server | location ``` ## 示例 ``` location /download { #index a.html; //千萬不要寫index,否則不生效 autoindex on; autoindex_exact_size off; //off的顯示效果更好 autoindex_format html; autoindex_localtime off; } ``` ``` ? download ll total 0 -rw-r--r-- 1 zj staff 0B 11 27 21:36 1 -rw-r--r-- 1 zj staff 0B 11 27 21:36 2 -rw-r--r-- 1 zj staff 0B 11 27 21:36 3 ``` 點擊即可下載: ![](https://img.kancloud.cn/34/e4/34e42ce5222535d5fa76a2e45ef471b9_852x382.png)
                  <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>

                              哎呀哎呀视频在线观看