Allow PHPMyAdmin access on certain virtual hosts - Ubuntu and Nginx

Francis Daly francis at
Mon Oct 10 16:10:17 UTC 2016

On Mon, Oct 10, 2016 at 04:29:27AM -0400, mrast wrote:

Hi there,

> there were symlinks in and roots public
> directories for phpmyadmin - symlinked to /usr/share/phpmyadmin.

It's good that you found an answer that works for you.

> > if ($http_cookie ~* £PHPSESSID"){
> >If that is a copy-paste of the config file, then it probably won't match
> >some things that you would want it to.
> Could you elaborate on this please if you have time?

£ is not "

You probably want "PHPSESSID", like in the other server block.

All the best,

Francis Daly        francis at

More information about the nginx mailing list