From fb335560f84f4a7935468acef35738c354c84c82 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 12 Jul 2014 11:11:12 +1000 Subject: [PATCH] FIX: appears broken in multisite --- config/nginx.sample.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index bbf8d3a4349..85c44db3897 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -101,7 +101,9 @@ server { break; } - location ~ ^/(backups|letter_avatar|user_avatar) { + # TODO test in multisite + #location ~ ^/(backups|letter_avatar|user_avatar) { + location ~ ^/backups/ { proxy_set_header X-Sendfile-Type X-Accel-Redirect; proxy_set_header X-Accel-Mapping $public/=/downloads/; proxy_pass http://discourse;