Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

node.js如何配置当用户输入http时自动跳到https请求?

$
0
0

在配置https的时候,怎么做到当用户在浏览器上输入http请求时自动跳到https,比如,用户输入:http://www.baidu.com,然后浏览器会变成https://www.baidu.com呢? 我自己配置的https只能通过https访问,输入http是无法访问?请问怎么解决?


Viewing all articles
Browse latest Browse all 14821

Trending Articles