【发布时间】:2016-06-16 00:20:02
【问题描述】:
我有一个适用于 Node.js 的 RestAPI,它通过 Nginx 代理,配置如下(私有部分已被隐藏):
server {
listen 80;
server_name mywebsitestuff.com www.mywebsitestuff.com;
location / {
proxy_pass http://serverip:25000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
我希望此 API 与 Let's Encrypt SSL 证书一起使用,我该怎么做?
谢谢
【问题讨论】: