logo

VMware NSX: LB Application Rule redirect all HTTP traffic to HTTPS

Ok. This took awhile to look for so might as well blog about it. This application rule redirects ALL HTTP traffic to HTTPS using the same URI.

redirect scheme https if !{ ssl_fc }

To use this, you just need to create the Virtual Server that serves HTTP, attach the application rule containing the string – and youre all set 🙂

Enjoy!

Leave a Reply

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.