The company intends to replace http with https in the Ngxin environment. It requires http to force a jump to https. This search on the Internet, the basic summary Configure rewrite ^(.*)$ https://$host$1 permanent;
Or in the server configuration return 301 https://$server_name$request_uri;
Or in the server with if, here refers to the need to configure […]
Recent Comments