<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國際加速解決方案。 廣告
                https-SSL 配置 ``` server{ listen 443 ssl; ssl on; server_name 域名; ssl_certificate /etc/nginx/conf.d/cert/3161512_xxx.pem; #將domain name.pem替換成您證書的文件名。 ssl_certificate_key /etc/nginx/conf.d/cert/3161512_xxx.key; #將domain name.key替換成您證書的密鑰文件名。 ssl_session_timeout 5m; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; #使用此加密套件。 ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #使用該協議進行配置。 ssl_prefer_server_ciphers on; location /activity { alias /data/activity/; try_files $uri /index.html; index index.html; } location / { alias /data/app/home/; try_files $uri /index.html; index index.html; } location ~* ^/(css|img|js|flv|swf)/(.+)$ { root $root; } location ~ /\.ht { deny all; } } ``` 為了方便版本切換目錄 /data/app/home/ 做軟連接 ln -s 版本1.0 home 如:切換版本 可用 rm home 先刪除再使用 ln -s 版本2.0 home,快捷方式 rm home && ln -s 版本2.0 home 這么做的用處防止用戶訪問時出現504,回滾你懂的。 http的配置把ssl的配置干掉就可以 ``` server{ listen 80; server_name 域名; set $root '/data/app/home'; root $root; index index.html; location / { try_files $uri $uri/ /index.html?$args; proxy_read_timeout 150; client_max_body_size 100m; } location ~* ^/(css|img|js|flv|swf)/(.+)$ { root $root; } location ~ /\.ht { deny all; } } ``` https-http合并為一個配置,增加監聽就行 ``` server{ listen 80; listen 443 ssl; ssl on; server_name 域名; ssl_certificate /etc/nginx/conf.d/cert/3161512_xxx.pem; #將domain name.pem替換成您證書的文件名。 ssl_certificate_key /etc/nginx/conf.d/cert/3161512_xxx.key; #將domain name.key替換成您證書的密鑰文件名。 ssl_session_timeout 5m; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; #使用此加密套件。 ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #使用該協議進行配置。 ssl_prefer_server_ciphers on; location /activity { alias /data/activity/; try_files $uri /index.html; index index.html; } location / { alias /data/app/home/; try_files $uri /index.html; index index.html; } location ~* ^/(css|img|js|flv|swf)/(.+)$ { root $root; } location ~ /\.ht { deny all; } } ```
                  <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>

                              哎呀哎呀视频在线观看