https跳http

listen 443 ssl;
rewrite ^ http://$http_host$request_uri? permanent;

原文地址:https://www.cnblogs.com/littlehb/p/11056734.html