Using Varnish with PHP
pinakee at waltzz.com
Thu Feb 16 06:31:49 CET 2017
Thanks for sharing the config - I would certainly take a look.
On Wed, Feb 15, 2017 at 9:31 PM, Brad Tarver <idle at pobox.com> wrote:
> I have a working config file for php/wordpress/varnish/nginx if you'd like
> to take a look.
> They are plaintext on pastebin.
> http://pastebin.com/4MgKWWUx -- varnishd 4.0 /etc/varnish/default.vcl for
> WordPress caching
> Based on the content of the config, you would need your nginx vhost
> running on port 8080 and varnish would run on port 80 and/or 443. I have
> other PHP/nginx/varnish examples here: http://pastebin.com/u/meesteridle
> On Tue, Feb 14, 2017, at 11:38 PM, Pinakee Biswas wrote:
> Not sure if this is the right forum but would appreciate if you could let
> me know how to serve PHP pages using Varnish. We have wordpress (Blog)
> hosted on our server. Varnish sits behind Nginx in the stack.
> Currently, PHP is served directly by Nginx using PhpFpm. We would like to
> use varnish to cache wordpress pages.
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc