How to convert Apache rewrite rule to nginx

Stjames Rash lists at
Thu Nov 11 07:12:55 MSK 2010


I have a RewriteRule in Apache :

RewriteCond %{QUERY_STRING} came_from=http(.*)

RewriteRule ^/(.*)login_form$
https://%{SERVER_NAME}/$1login_form?came_from=https%1 [NE,L]

 Can somebody let me know the equivalent of the above apache rewrite
rule in nginx

Posted via

More information about the nginx mailing list