Hi Peter,
Thanks for the reply!
I've network enabled it on one of my test sites, the above issues appears to have been resolved, but when I reload the page to load the cached page my images break, do you have an example WordPress MS Nginx config available.
Here is mine for your reference:
location / {
try_files $uri $uri/ @memcached;
}
location @memcached {
default_type text/html;
set $memcached_key data-$host$request_uri;
memcached_pass 127.0.0.1:11211;
error_page 404 = @rewrites;
}
location @rewrites {
rewrite ^(.*)$ /index.php?q=$1 last;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
rewrite /files/$ /index.php last;
location ^~ /files/ {
rewrite ^.*/files/(.+)$ /wp-includes/ms-files.php?file=$1 last;
}
if (!-e $request_filename) {
rewrite ^/[_0-9a-zA-Z-]+(/wp-.*) $1 last;
rewrite ^/[_0-9a-zA-Z-]+.*(/wp-admin/.*\.php)$ $1 last;
rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ $1 last;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass php;
}