https://example.com不向我的负载均衡器发出请求,但http正常工作
这就是我的example.com.conf文件的样子 – upstream web_app_backend { ip_hash; server <app1 ip>:<port>; server <app2 ip>:<port>; } server { listen 443 ssl; server_name example.com; ssl_certificate /etc/nginx/ssl/example.crt; ssl_certificate_key /etc/nginx/ssl/example.com.key; return 302 http://example.com$request_uri; } server { listen 80; server_name example.com; location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a […]