nginx訪問http80端口跳轉https443端口

    在配置文件中加入下面代碼ide server {spa     ... server     if ($server_port = 80){ blog return 301 https://$server_name$request_uri;} it if ($scheme = http){ class return 301 https://$server_name$request_uri;
相關文章
相關標籤/搜索