当网站配置好https协议之后 全站url http怎么跳转到https
当网站配置好https协议之后 全站url如何做301到https ,我是空间 该如何配置呢
2019年06月04日
|
3791人阅读
最佳答案
其他回答
| 共5个
-
好的 谢谢虎哥
2019年06月04日为什么我加了之后 重新访问提示重定向次数过多
2019年08月21日2019年08月21日宝塔nginx环境设置301重定向http到https
https://www.tbadc.com/fangan/548.html
#HTTP_TO_HTTPS_START
if ($server_port !~ 443){
rewrite ^(/.*)$ https://$host$1 permanent;
}
#HTTP_TO_HTTPS_END2020年06月11日