Hello I recently decided to move from Apache to Nginx but having some problems getting my rewrite rules correct. In apache the where: RewriteEngine On RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d RewriteRule ^/([^/]+)/([^/]+)\//?$ %{DOCUMENT_ROOT}/data.php?type=$1&data=$2 And my nginx config looks like: server {by danchodanchev - How to...