Hi,
I'm a noob.
How to rewrite http to https in /admin location only ?
I put something like this in nginx.conf :
location /admin {
rewrite ^(.*) https://$server_name$1 permanent;
}
But I always get error message "The page isn't redirecting properly" in
Firefox when I browse http://$server_name/admin
Thanks.
Best regards
Gunawan
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx