NSX-T Virtual Servers contain the Virtual IP address (VIP) for the pools of nodes that will be accessed.
In this case, there are two separate VIPs created with the same IP address. One virtual server is used for redirecting insecure HTTP (port 80) traffic to a secure-channel connection – HTTPS (port 443). The second virtual server is used for handling and forwarding secure-channel traffic (HTTPS) to the backend systems.
Configure the Virtual Servers for HTTPS requests:
- Go to Networking → Load Balancing → Virtual Servers
- Click the Add () icon and select L4 TCP
- Choose a name for the Virtual Server
- Assign appropriate Application Profile (please refer to the example below)
- Assign appropriate Load Balancer (please refer to the example below)
- Assign appropriate Server Pool (please refer to the example below)
- Select Persistence as Source IP (please refer to the example below)
- Assign appropriate Source IP profile (please refer to the example below)
- Assign a VIP (Virtual IP) and port 443 to handle HTTPS requests
Configure the Virtual Servers for HTTP requests:
- Go to Networking → Load Balancing → Virtual Servers
- Click the Add () icon and select L7 HTTP
- Assign appropriate Application Profile (please refer to the example below)
- Assign VIP (Virtual IP) and port 80 to handle HTTP requests
Note: There is no need to configure any Server Pool for this Virtual Server