Setting method of forced HTTPS jump in Apache / nginx server environment

Dazzle Yi Three years ago (2017-09-21) nine hundred and sixty-six
 Setting method of forced HTTPS jump in Apache / nginx server environment
Although we have seen all kinds of news or so-called authoritative suggestions, websites are required to enable the HTTPS encryption format, but many large websites have not been started. Of course, the form of HTTPS encryption has advantages, but it can not force all websites to be enabled. In fact, it will increase the cost of using the website. In the general web server environment, Apache or nginx environment driver will be adopted, and several scripts can be used to enforce the encryption of HTTP address. Of course, the premise is that we are already serving
Call for istwar