From 0e2ded278db74c7446af83cc39bb5cd66ee50fda Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Mon, 4 Jan 2016 09:56:30 +1100 Subject: [PATCH] Don't buffer message bus, this allows us to stream --- config/nginx.sample.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index 6ddd580eec..1d16b0b32c 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -220,6 +220,12 @@ server { proxy_pass https://avatars.discourse.org/; } + location /message-bus/ { + proxy_buffering off; + proxy_pass http://discourse; + break; + } + # this means every file in public is tried first try_files $uri @discourse; }