<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>oops. I guess varnish doesn't support 443. sorry. still, can be used for 80</div>
<div><br></div>
<div><br></div>
<div>On Wed, Feb 15, 2017, at 10:01 AM, Brad Tarver wrote:<br></div>
<blockquote type="cite"><div>I have a  working config file for php/wordpress/varnish/nginx if you'd like to take a look.<br></div>
<div><br></div>
<div>They are plaintext on pastebin.<br></div>
<div><br></div>
<div><a href="http://pastebin.com/4MgKWWUx">http://pastebin.com/4MgKWWUx</a> -- varnishd 4.0 /etc/varnish/default.vcl for WordPress caching<br></div>
<div><br></div>
<div>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: <a href="http://pastebin.com/u/meesteridle">http://pastebin.com/u/meesteridle</a><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div>On Tue, Feb 14, 2017, at 11:38 PM, Pinakee Biswas wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div>Hi,<br></div>
<div><br></div>
<div>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. <br></div>
<div>Currently, PHP is served directly by Nginx using PhpFpm. We would like to use varnish to cache wordpress pages. <br></div>
<div><br></div>
</div>
</blockquote><div><br></div>
</blockquote><div><br></div>
</body>
</html>