Convert phpMyAdmin rewrite from Apache to nginx


phpMyAdmin on a ps running nginx webserver won’t work without a rewrite not yet implemented by DH.
The support was kind enough to provide me the original, though i haven’t managed to convert it to get it to work for nginx.

Any one else who can help out?

RewriteRule ^/dh_phpmyadmin/([^/])/?(.) /dh/web/phpmyadmin/$2