Is it just me or does trellis/bedrock not support multisite uploads?
I had to add this to my nginx config:
#WPMU Files
location ~ ^/files/(.*)$ {
try_files /wp-content/blogs.dir/$blogid/$uri /wp-includes/ms-files.php?file=$1 ;
access_log off;
log_not_found off;
expires max;
}
#WPMU x-sendfile to avoid php readfile()
location ^~ /blogs.dir {
internal;
alias {{ www_root }}/{{ item.key }}/{{ item.value.shared_path | default('shared') }}/blogs.dir;
access_log off;
log_not_found off;
expires max;
}
Am I missing something?