# Discourse behind Varnish?

**URL:** <https://meta.discourse.org/t/discourse-behind-varnish/4864>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [March 18, 2013, 11:48am UTC](https://meta.discourse.org/t/discourse-behind-varnish/4864 "2013-03-18T11:48:24Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![orchardstreet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/orchardstreet/32/149531_2.png) [@orchardstreet](https://meta.discourse.org/u/orchardstreet)\
**Post date:** [February 27, 2021, 12:26pm UTC](https://meta.discourse.org/t/discourse-behind-varnish/4864/13 "2021-02-27T12:26:37Z")

</div>

People here seem to be using Varnish + an extra nginx

The nginx bit seems unecessary, plus Discourse already uses nginx in it’s container

Is there a way for Varnish to go directly to the container and not use an extra nginx or apache

ok I figured it out, dumb question

and it improves loading times dramatically to remove other proxies

Also I used @Lee_Ars 's caching config and it produces odd behaviour like certain avis just not displaying so everything is return (pass); for now. Have you not gotten any odd behaviour with your caching @Lee_Ars ?

---

_[View the full topic](https://meta.discourse.org/t/discourse-behind-varnish/4864)._
