<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之旅 廣告
                前面的部署只是nginx當中代理了前端,但是有時候流量比較大,所以后段java服務壓力就會比較大,所以我們可以多個節點上部署java服務,nginx代理前端請求接口到不同的節點java服務當中去 很簡單 ### nginx.conf當中增加如下配置(加在server的上面即可): #### upstream lbs { server 120.79.160.143:8082; server 127.0.0.1:8080; } ### ![](https://img.kancloud.cn/a5/5f/a55ff574d292edf64d6eb67b9245cfd7_2128x1340.png) ### server當中增加如下: ### location /api/ { proxy_pass http://lbs; proxy_redirect default; } location /user/ { proxy_pass http://lbs; proxy_redirect default; } ![](https://img.kancloud.cn/be/73/be7383ea69c4c2af5c29da4603d9117f_1864x1344.png) 因為我們的項目比較簡單 前端只是請求了api和user開頭的接口 所以就寫了這兩個 有其他的可自行添加 然后開啟兩個服務器的終端 監聽后端java服務即可 ![](https://img.kancloud.cn/3c/d8/3cd8cc85da51dfbe67bcd60721095d1e_1123x128.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>

                              哎呀哎呀视频在线观看