ported varnish docs

v1.18.x
psychobunny 11 years ago
parent 7ac3f82c5e
commit ee63ecbe3e

@ -1,6 +1,10 @@
To be sure Varnish will work properly with NodeBB check that your configuration ```/etc/varnish/default.vcl``` is optimized for **websockets**. Configuring Varnish Cache
==========================
To be sure Varnish will work properly with NodeBB check that your configuration ``/etc/varnish/default.vcl`` is optimized for **websockets**.
.. code::
```varnish
backend nodebb { backend nodebb {
.host = "127.0.0.1"; # your nodebb host .host = "127.0.0.1"; # your nodebb host
.port = "4567"; # your nodebb port .port = "4567"; # your nodebb port
@ -31,4 +35,3 @@ sub vcl_pipe {
set bereq.http.upgrade = req.http.upgrade; set bereq.http.upgrade = req.http.upgrade;
} }
} }
```
Loading…
Cancel
Save