How to force http into https

Edit your nginx.conf and add codes into the http module
rewrite ^(.*) https://$host$1 permanent;

and,you have to ensure that you installed the ssl files in advance.
0
Donate 06-09-18

0 comments

If you wanna get more accurate answers,Please Login or Register