Hi All,

I want my users to login using SSL, but all other pages should be
served by normal http. Following the suggestions from Cliff for NginX,
I have configuration similar to:

    server {
        listen   80;
         ...
        location /login {
            rewrite  ^(.*) https://site.com$1 redirect;
        }
    }

    server {
        listen    443;
        ssl on;
        ...
    }

This is working perfectly as long as somebody logs in through
http://site.com/login. But if somebody directly browses to
http://site.com/some_secure_url, it is not going through ssl, although
login page comes, and he is able to access the resource after logging
in. I am stuck and needing suggestions on what can be the solution for
this.

thanks
Sanjay


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to