I want to set up WordPress Multisite Subdirectory rules but i get this error "Vhost is not valid."
map $uri $blogname{
~^(?P/[^/]+/)files/(.*) $blogpath ;
}
map $blogname $blogid{
default -999;
include /var/www/html/wp-content/uploads/nginx-helper/map.conf;
}
server { ...
thx :)
According to this blog. You need to add this crucial part into your
server
: