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
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to