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

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # 如何配置HTTPS? 在設置https訪問之前,請開啟安全組的443端口,如果不開啟,https訪問是不可用的。 ## 配置方式:自己準備好了證書 1. 將證書上傳到服務器證書目錄:*C:/websoft9/nginx/conf/cert*(沒有cert目錄可以自己新建) 2. 在 `C:/websoft9/nginx/conf `目錄下新建一個 以.conf為后綴的文件,假設命名為mysite.conf 拷貝下面的https配置文件模板到mysite.conf文件中,并保存 ``` server { listen 80; server_name www.example.com; index index.html index.htm index.jsp index.do; error_log logs/www.example.com-error.log crit; access_log logs /www.example.com-access.log; include jsp.conf; listen 443 ssl; ssl_certificate C:/websoft9/cert/xxx.crt/xxx.crt; ssl_certificate_key C:/websoft9/cert/xxx.key; ssl_session_timeout 5m; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE; ssl_prefer_server_ciphers on; ## 301 重定向 http => https #if ($scheme != "https") { #return 301 https://$host$request_uri; #} } ``` 3. 將 ` server_name www.example.com; `中 `www.example.com` 改為自己的域名 4. 將 `error_log` 和 `access_log` 日志文件中的 `www.example.com` 改為自己的域名 5. `ssl_certificate C:/websoft9/cert/xxx.crt/xxx.crt;` SSL證書路徑 6. `ssl_certificate_key C:/websoft9/cert/xxx.key;` SSL KEY路徑 7. 如果需要http跳轉https, 請將倒數2行-4行前面的'#' 去掉 8. 重啟Nginx。桌面雙擊Nginx,執行命令 ``` systemctl restart nginx ```
                  <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>

                              哎呀哎呀视频在线观看