是否可以设置 nginx 以便它代理 HTTPS 连接而不解密它?我在谈论这样的事情:
server {
    listen 443 ssl;
    server_name example.com;
    location / {
        proxy_pass        https://localhost:8000;
        proxy_set_header  X-Real-IP  $remote_addr;
    }
}
我知道,nginx 很可能需要证书来添加 X-Real-IP 标头,但是我可以重新加密代理吗?
我这样做的动机是,我想将流量传递到启用了 SPDY 的 Node 应用程序。但是为了能够在 Node 中使用 SPDY,我需要将解密保存在应用程序中。