server { listen 80; server_name www.fengyibbk.com; rewrite ^ https://$http_host$request_uri? permanent; # force redirect http to https #return 301 https://$http_host$request_uri; }
每次打开网站要一分钟,才跳转!~~~~
什么问题。。。。。。。。。。。。
server { listen 80; server_name www.fengyibbk.com; rewrite ^ https://$http_host$request_uri? permanent; # force redirect http to https #return 301 https://$http_host$request_uri; }
每次打开网站要一分钟,才跳转!~~~~
什么问题。。。。。。。。。。。。
|
1
取消跳转后访问很快!~~
|
|
torbrowserbridgeApr 3, 2018
2
http 跳 https ?直接访问 https 速度呢?
|
|
yytsjqApr 3, 2018
3
那条 rewrite 规则没必要吧。。
server { listen 80 default_server; listen [::]:80 default_server; # Redirect all HTTP requests to HTTPS with a 301 Moved Permanently response. return 301 https://$host$request_uri; } https://mozilla.github.io/server-side-tls/ssl-config-generator/ |
|
4
不跳转很快的。
|
|
msg7086Apr 4, 2018
5
请把这一分钟里浏览器的请求和时间分片信息贴出来。
|