Information About Using Load Balancer with SSL and nginx

Asked 2 years ago, Updated 2 years ago, 92 views

We are currently configuring load balancer and nginx settings.
The configuration is a load balancer, from which it is assigned to the nginx server, and from the nginx server to the real server.
Because SSL certificates are installed on the load balancer, the nginx and real servers are not supposed to be SSLized.
In this case, how do I configure the nginx server to sort https (port443)?
Do I also need to install SSL certificates on my nginx server?

In nginx.conf of nginx, I couldn't just specify:

server{
    listen443;
    server_name localhost;
}

Thank you for your cooperation.

nginx ssl

2022-09-29 22:37

1 Answers

You may want to listen on the nginx server port number that you configure on the load balancer.

# Since SSL terminated on the load balancer, I think decrypted HTTP will be distributed between the load balancer and nginx servers.


2022-09-29 22:37

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.