Create the NGINX HTTPS Virtual Service
- Last Updated: June 24, 2024
- 1 minute read
- LoadMaster
- LoadMaster GA
- Documentation
Follow the steps below to create and configure the recommended settings for the NGINX HTTPS Virtual Service:
- In the main menu of the LoadMaster Web User Interface (WUI), go to Virtual Services > Add New.
- Type a valid IP address in the Virtual Address text box.
- Type 443 in the Port text box.
- Enter a recognizable Service Name, for example Nginx HTTPS.
- Ensure tcp is selected as the Protocol.
- Click Add this Virtual Service.
- Configure the settings as shown in the following table:
Section
Option
Value
Comments Standard Options
Persistence Mode
Source IP Address
Timeout
1 Hour
Scheduling Method
least connection
Idle Connection Timeout 900 Advanced Properties
Add a Port 80 Redirector VS
https://%h%s
Click Add HTTP Redirector. This automatically creates a redirect on port 80.
Note: This field disappears after it is clicked.
Real Servers
URL
/
- Add the Real Servers:
- Expand the Real Servers section.
- Click Add New.
- Type the address of the Real Server.
- Type 443 as the Port.
- Click Add This Real Server.
- Repeat the steps above to add more Real Servers as needed, based on the environment.
Configure the NGINX HTTPS HTTP Redirect Virtual Service
Clicking the Add HTTP Redirector button automatically creates a port 80 redirect Virtual Service. This is optional, but the purpose of this Virtual Service is to redirect any clients who have connected using HTTP to the HTTPS Virtual Service. We also recommend changing the Real Server Check Method and Persistence Mode to None.