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/.