How to convert Apache rewrite rule to nginx

Stjames Rash lists at ruby-forum.com
Thu Nov 11 07:12:55 MSK 2010


Hi

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 http://www.ruby-forum.com/.



More information about the nginx mailing list