Using Varnish with PHP

Pinakee Biswas pinakee at waltzz.com
Thu Feb 16 06:31:49 CET 2017


Hi,

Thanks for sharing the config - I would certainly take a look.

Thanks,
Pinakee

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:
>
> Hi,
>
> 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
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20170216/3a0fe867/attachment.html>


More information about the varnish-misc mailing list