Make phpMyAdmin work with Varnish Cache.

How to make phpMyAdmin work on Nginx server with Varnish Cache?

Assuming you have configured Varnish Cache to drop cookies here is what you have to change to make phpMyAdmin work properly on your Nginx server.

  1. after you install phpMyAdmin make a symbolic link
  2. edit /etc/varnish/default.vcl – add in  sub vcl_recv

    – add in sub vcl_fetch
  3. edit /etc/phpmyadmin/ and set

You can see that it’s not that complicated to make phpMyAdmin work with Varnish Cache.


Leave a Reply

Your email address will not be published. Required fields are marked *