upstream 是 https 的,ssl 用的端口是 8443, nginx 做代理, 请问 nginx 该怎么配置呀, 我配置后打开提示 400 Bad Request
The plain HTTP request was sent to HTTPS port nginx
下面是我的配置 upstream lo_8443 { server 123.123.123.123:8443 weight=1 max_fails=2 fail_timeout=30s; } server { # Bind Port listen 8443; ssl on; ssl_certificate /home/crt/cert.pem; ssl_certificate_key /home/crt/cert.key;