mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 07:14:48 +08:00
FIX: appears broken in multisite
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user