https本地配置
-
生成证书
https://blog.csdn.net/lihefei_coder/article/details/121972525 -
nginx配置引入证书
ssl on; ssl_certificate D:/tools/ssh/server.pem; ssl_certificate_key D:/tools/ssh/privkey.pem;
-
配置地址
比如
location /cs/zwt/online/wap/ {
proxy_pass http://127.0.0.1:8809;
}
location /cs/ccc/cmc/h5/ {
proxy_pass https://127.0.0.1:9020/cs/ccc/cmc/h5/;
}