There is such a website. The login interface is domain name A. After successful login, it will jump to another domain name B.
If you directly access the B domain name, it will jump to the A domain name without logging in. If you have already logged in, you are still in domain name B.
伊谢尔伦2017-06-06 09:56:24
It is recommended not to use Nginx configuration, it will be better to implement it on the front end
曾经蜡笔没有小新2017-06-06 09:56:24
Use business code to implement it to determine whether you are logged in. If you are not logged in, initiate a redirect. It is a very mature solution.