server { listen 80; server_name localhost; return 301 https://$host$request_uri; } server { listen 443 ssl; server_name m.com.cn; #... }
标签:host serve com listen turn post http request uri
server { listen 80; server_name localhost; return 301 https://$host$request_uri; } server { listen 443 ssl; server_name m.com.cn; #... }
标签:host serve com listen turn post http request uri
原文地址:https://www.cnblogs.com/300js/p/8150085.html