Allow PHPMyAdmin access on certain virtual hosts - Ubuntu and Nginx

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


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

website.com website1.com website2.com website3.com

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?

Thankyou

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270105,270105#msg-270105



More information about the nginx mailing list