<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-signature">Hey Guys,<br>
<br>
My earlier question was "When to use Varnish in front or behind
NGinx."<br>
<br>
Thanks much for the responses and advise.<br>
<br>
I actually prefer it the way that was suggested <a
class="moz-txt-link-freetext" href="nginx:443"
style="white-space: pre-wrap;">nginx:443</a><span
style="white-space: pre-wrap"> -> <a
class="moz-txt-link-freetext" href="varnish:6081">varnish:6081</a> -> <a
class="moz-txt-link-freetext" href="httpd:7080">httpd:7080</a>.</span></div>
<div class="moz-signature"><span style="white-space: pre-wrap">That way, in plesk, I can configure nginx per site.
The issue I am having now is when I set it up that way I get too many redirects.
Through Varnishstat, I can see the hits being made but the webpage won't load.
I have uploaded my configuration on github to reduce the text and ease to read.
If anyone has the patience can you tell me what needs to be adjusted.
I will upload my .htaccess, nginx.conf, httpd.conf and default.vlc.</span></div>
<div class="moz-signature"><span style="white-space: pre-wrap">Repo <a
href="https://github.com/cnm-Git/Varnish-Default-VCL-Rules">here</a>. I hope I did not do a terrible Job redacting.
</span></div>
<div class="moz-signature"><span style="white-space: pre-wrap">
As of now my backend health is 5/5.
The default.vlc I found online, claim to be well tailored for Drupal sites.
Made little tweaks.
I will appreciate any help.
Regards,
Lee
</span></div>
</body>
</html>