Try the below one in the server context ..outside all location blocks. You
can enable dedug log and do rewrite_log on; to see if its matching etc.
Good Luck!
rewrite ^/galleries/album-set/album-2/(.*)-single\.php
/galleries/album-set/album-2/single.php?id=$1 last;
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx