Welcome! Log In Create A New Profile

Advanced

Re: Require SSL for specific URLS

November 20, 2009 03:50PM
Here is what I have so-far, but I'm not sure how to go back.

[code]
location ~ ^/(secure) {
if ($scheme = 'http') {
#Insecure, lets go to https
rewrite ^/(.*)$ https://$host/$1 permanent;
}
}
[/code]
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: 125
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready