nginx http-https代理;重启或kill 命令
```
https://www.jianshu.com/p/984b19e9b875
https://www.cnblogs.com/alsodzy/p/8522710.html
```
server {
listen 20000;
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
add_header Access-Control-Allow-Headers 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization';
add_header Access-Control-Allow-Credentials 'true';
return 301 https://myhttps.com$request_uri;
}