Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: Require SSL for specific URLS
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
jorgelo
November 20, 2009 03:50PM
Registered: 14 years ago
Posts: 2
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]
Reply
Quote
RSS
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