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