Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

redirect all invalid SSL reguest to http in Nginx SSL termination

$
0
0
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)

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>