Help with specific redirect to https

Antonio P.P. Almeida appa at
Wed Dec 12 18:07:52 UTC 2012

> Thanks for your attempt, but this failed as well.

What's the exact structure of your URI?

If it's an argument then there are several approaches. For starters this
should work (but it's ugly :) to improve it we need further details).

map $request_uri $redirect_https {
    default 0;
    ~*^.*UserLogin.*$ 1;


More information about the nginx mailing list