how-enable-rewrite-rules-plesk-nginx code example
Example: how-enable-rewrite-rules-plesk-nginx
if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; }
if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; }