Nginx Redirect Configuration
I am using nginx web server. In my configuration I redirect all http to https using this settings 

> location / {
>       rewrite ^/(.*) https://mydomain.com/$1 permanent;
>     }

What I need is I want to redirect all http request to https except one like http://mydomain.com/x/y

Please help to solve this issue

Thanks..

Nginx Redirect Configuration
===

I am using nginx web server. In my configuration I redirect all http to https using this settings 

> location / {
>       rewrite ^/(.*) https://mydomain.com/$1 permanent;
>     }

What I need is I want to redirect all http request to https except one like http://mydomain.com/x/y

Please help to solve this issue

Thanks..
