redirect all invalid SSL reguest to http in Nginx SSL termination
September 01, 2017 01:04PM
i use nginx for SSL termination before my backend servers as reverse proxy. i want Redirect all invalid https domain ( have'nt SSL), redirect to http in nginx SSL termination. I do not want to do this for all sites Separately for each one, I want a general solution for all requests dont have https but open with https and redirect to http Automatically. i have nginx for SSL termination.


I can forward https to http traffic in .htaccess (rewrite rule) when i use apache webserver, how can I do the same job in nginx for a specific domain? ( in custom nginx.conf for a domain address)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 173
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready