Problem background:
無(wú)論是輸入http://...,還是輸入域名,都能跳轉(zhuǎn)至https://...,
Question: There are many ways, some are written in the file that configures port 80, some are written in .htaccess, and some set meta/refresh on the page.
Which one is more cost-effective?
學(xué)習(xí)是最好的投資!
The most cost-effective method is to use nginx’s rewrite to configure it