# Varnish config for discourse

**URL:** https://meta.discourse.org/t/varnish-config-for-discourse/68575
**Category:** Self-hosting
**Tags:** hosting
**Created:** [August 23, 2017, 1:27am UTC](https://meta.discourse.org/t/varnish-config-for-discourse/68575 "2017-08-23T01:27:50Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [August 23, 2017, 3:03am UTC](https://meta.discourse.org/t/varnish-config-for-discourse/68575/3 "2017-08-23T03:03:00Z")

</div>

Not official, but there have been some stabs at it before.

> [@Use HAProxy and Varnish with Discourse](https://meta.discourse.org/t/adventures-in-haproxy-and-varnish-with-discourse-because-i-hate-myself/27782/):
>
> Had some downtime this afternoon and without even really planning to ended up setting up haproxy in front of my web server, which hosts a bunch of stuff including Discourse. The configuration, surprisingly, wound up working without much hassle at all; I give up SPDY support because haproxy doesn’t support it, but I don’t think that’s going to have a whole lot of material effect. I wound up dragging a second unused server into the mix to work as the haproxy host, but I don’t think there’d be any…

---

_[View the full topic](https://meta.discourse.org/t/varnish-config-for-discourse/68575)._
