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