Updated htaccess.rb to finally output rewrite rules for nginx.