Convert Apache .htaccess configuration directives (RewriteRule, RewriteCond, Redirect 301, Deny from all) into clean Nginx server & location blocks.