i have managed to firgure out a rule but i still get a 404 error
location /blog {
rewrite ^/([a-z0-9-]+) /article.php?slug=$1;
}
location /blog {
rewrite ^/([a-z0-9-]+) /article.php?slug=$1;
}