nginx - https redirection problem?
PHPz
PHPz 2017-05-27 17:45:00
0
3
780

Problem background:

无论是输入http://...,还是输入域名,都能跳转至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?

PHPz
PHPz

学习是最好的投资!

reply all (3)
迷茫

It is recommended to write port 80
1. No need for meta and refresh

    Ty80

    Port 80, make a jump

      曾经蜡笔没有小新

      The most cost-effective method is to use nginx’s rewrite to configure it

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!