Forum Discussion
immu
Altostratus
Aug 07, 2017VS configuration
Can any one help me as to how can I configure a VS with the backend server and port.
also I need to do port redirection form 80 to 443
Aditya_248044
Nimbostratus
Aug 08, 2017Hi,
In addition to above and to your redirection query.
- Create two VS with same Name and IPs but use port 443 and 80
- 443 will have all the configurations , Persistance ,Pool, Pool Members etc.
- In 80 VS add an iRule to redirect the connection to 443 VS
You can use the simple one:
when HTTP_REQUEST {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
Regards,
Aditya
MvdG
Cirrus
Aug 08, 2017Missed the part of the redirection.
Aditya is right. Create a second VS on port 443 and add an iRule on the port 80 VS for the redirection to port 443. This is a default iRule within the LTM iRule list: _sys_https_redirect
Do not forget to add a SSL Profile (Client) on the port 443 VS. For testing this can be clientssl-insecure-compatible.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects