mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 05:43:16 +08:00
FIX: appears broken in multisite
This commit is contained in:
parent
724fff22e7
commit
fb335560f8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user