Hi Lee, This bit in your Apache config looks wrong: https://github.com/cnm-Git/Varnish-Default-VCL-Rules/blob/dfc45d79caca4bc05d778ba21e15b1d1ad0892d4/httpd.conf#L102-L114
When a request comes in for https://<redacted>.<redacted>.com it gets redirected to... https://<redacted>.<redacted>.com. Cue endless loop. Add rewrite:trace3 (or higher) to your LogLevel to get what's happening in the RewriteRules logged. Peter On Sun, 22 Sept 2024 at 08:49, Lee Daniel <[email protected]> wrote: > Hey Guys, > > My earlier question was "When to use Varnish in front or behind NGinx." > > Thanks much for the responses and advise. > > I actually prefer it the way that was suggested nginx:443 -> varnish:6081 > -> httpd:7080. > 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. > Repo here <https://github.com/cnm-Git/Varnish-Default-VCL-Rules>. I hope > I did not do a terrible Job redacting. > 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 > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc > -- Maple Design Ltd http://www.mapledesign.co.uk +44 (0)330 122 0034 Reg. in England no. 05920531 Prices exclude VAT where applicable
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
