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

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                安裝寶塔查看下面網址: [https://www.bt.cn/bbs/thread-19376-1-1.html](https://www.bt.cn/bbs/thread-19376-1-1.html) 推薦使用寶塔管理工具,方便。 ## **centos系統** 安裝nginx1.16+mysql5.6+php5.6+Memcached1.5。 登陸寶塔面板,軟件商城。 ![](https://img.kancloud.cn/7a/a0/7aa0cfe844224f7d46fa110ca7f81f34_2336x532.png) ![](https://img.kancloud.cn/b2/b5/b2b5de3dae165270fd400314d94229c9_2300x104.png) ![](https://img.kancloud.cn/53/9c/539cbbe410fdf7549ae0bfdb30ce222e_2284x122.png) 安裝之后還需要安裝php擴展ZendGuardLoader+memcache。禁用函數里面可以都刪掉。 ![](https://img.kancloud.cn/36/22/36225cd7a5e7a5d8ab6be24410024534_1252x818.png) 完成環境安裝。 nginx配置增加一個h5端的配置。 ``` location /h5/ { try_files $uri $uri/ @router;#需要指向下面的@router否則會出現vue的路由在nginx中刷新出現404 index index.html index.htm; } #對應上面的@router,主要原因是路由的路徑資源并不是一個真實的路徑,所以無法找到具體的文件 #因此需要rewrite到index.html中,然后交給路由在處理請求資源 location @router { rewrite ^.*$ /h5/index.html last; } ``` ## **Windows系統上稍有區別** 安裝Nginx 1.17+MySQL 10.1.21-MariaDB+PHP-5.4+Memcached 1.4.4 登陸寶塔面板,軟件商城。 ![](https://img.kancloud.cn/c0/72/c0722e57ad0101aeab4e412fd5229e9b_2302x78.png) ![](https://img.kancloud.cn/c6/dd/c6ddf882bd5dd4314ab53b0527023ddb_2288x80.png) ![](https://img.kancloud.cn/b6/10/b6107f679d5226be5bbd348b18703dca_2294x80.png) ![](https://img.kancloud.cn/46/6b/466bc7f95aa0b28cb9b66f4b64a2ec56_2306x86.png) 安裝之后還需要安裝php擴展ZendGuardLoader+memcache。禁用函數里面可以都刪掉。 ![](https://img.kancloud.cn/14/6e/146eef94153baa2820d931baef6ae7f4_1282x1136.png) 完成環境安裝。 nginx配置增加一個h5端的配置。 ``` location /h5/ { try_files $uri $uri/ @router;#需要指向下面的@router否則會出現vue的路由在nginx中刷新出現404 index index.html index.htm; } #對應上面的@router,主要原因是路由的路徑資源并不是一個真實的路徑,所以無法找到具體的文件 #因此需要rewrite到index.html中,然后交給路由在處理請求資源 location @router { rewrite ^.*$ /h5/index.html last; } ```
                  <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>

                              哎呀哎呀视频在线观看