nginx 强制跳转到https协议

使用下面nginx配置

当请求协议为http时,重定向到https

670