FIX: appears broken in multisite

This commit is contained in:
Sam
2014-07-12 11:11:12 +10:00
parent 724fff22e7
commit fb335560f8

View File

@ -101,7 +101,9 @@ server {
break; 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-Sendfile-Type X-Accel-Redirect;
proxy_set_header X-Accel-Mapping $public/=/downloads/; proxy_set_header X-Accel-Mapping $public/=/downloads/;
proxy_pass http://discourse; proxy_pass http://discourse;