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;