How do I redirect those browsers that do not support TLS 1.2 to a page that'll explain the situation to them.

  • According to blog.varonis.com/… TLS 1.1 is acceptable for those browsers.
    – ceejayoz
    Oct 1, 2015 at 17:36
  • that's not my question. My question is how do I redirect those without TLS 1.2 to a web page where they can find out why they can't access.
    – JasonGenX
    Oct 1, 2015 at 18:10

2 Answers 2


Unless the clients are accessing the site with regular HTTP before trying to go to HTTPS they will not be able to be redirected. The webserver will not be able to create a successful encrypted channel so the client would not be able to obtain any redirect.

  • So what's can be done that'll catch all http and https calls and redirect them to where they are told they must have TLS 1.2? I can't believe nothing can be done.
    – JasonGenX
    Oct 2, 2015 at 16:33

Here you go. Edit as needed.

// If the user is using an older version of TLS

if ($ssl_protocol != "TLSv1.2") {
  return 302 /outdated;

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .