nginx not forwarding requests to backend servers.

crasyangel nginx-forum at forum.nginx.org
Wed Jul 27 16:17:38 UTC 2016


u.default_port = 80; in ngx_http_upstream_server

add a new upstream

upstream ssl_myappliationsite.net {
ip_hash;
server backendappsite1.net:443;
server backendappsite2.net:443;
server backendappsite3.net:443;
}

server {

listen 443 ssl;
server_name myapplicationsite.net;
keepalive_timeout 70;

ssl_certificate /appssl/fd.crt;
ssl_certificate_key /appssl/lb.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;

location / {
proxy_pass http://ssl_myappliationsite.net;
proxy_set_header HOST myapplicationsite.net;

}
}

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268547,268559#msg-268559



More information about the nginx mailing list