Don't buffer message bus, this allows us to stream

This commit is contained in:
Sam Saffron 2016-01-04 09:56:30 +11:00
parent ab5cd3ad3b
commit 0e2ded278d
1 changed files with 6 additions and 0 deletions

View File

@ -220,6 +220,12 @@ server {
proxy_pass https://avatars.discourse.org/; 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 # this means every file in public is tried first
try_files $uri @discourse; try_files $uri @discourse;
} }