Allow PHPMyAdmin access on certain virtual hosts - Ubuntu and Nginx

mrast nginx-forum at
Thu Oct 6 22:07:51 UTC 2016

I have an ubuntu 16.04 server running LEMP with 4 websites on it

I have installed phpmyadmin and configured it and it works fine, however it
serves all 4 websites.

website1 and website3 do not need access to phpmyadmin.

How do i tell Nginx to only load phpmyadmin for certian websites please?


Posted at Nginx Forum:,270105,270105#msg-270105

More information about the nginx mailing list