Welcome! Log In Create A New Profile

Advanced

Require SSL for specific URLS

November 20, 2009 03:44PM
I'm wondering how I would go about creating a rule like this in NGINX.

I want certain paths to require HTTPS, and redirect to https:// if the current schema is not https.

Now, to make it even better, I'm wondering if you visit a path NOT on that HTTPS required list, how would I redirect it to http://

Thanks

-Jorge
Subject Author Posted

Require SSL for specific URLS

jorgelo November 20, 2009 03:44PM

Re: Require SSL for specific URLS

jorgelo November 20, 2009 03:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 205
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