Not using map directive

This commit is contained in:
Ashley Rich 2015-11-21 11:46:42 +00:00
parent 0631aecc36
commit 1aeb3e7f73

View File

@ -1,8 +1,3 @@
# Try static files before passing to ms-files.php.
location ~ ^/[_0-9a-zA-Z-]+/files/(.*)$ {
try_files /wp-content/blogs.dir/$blogid/files/$2 /wp-includes/ms-files.php?file=$2;
}
# Rewrite multisite '.../wp-.*' and '.../*.php'.
if (!-e $request_filename) {
rewrite /wp-admin$ $scheme://$host$uri/ permanent;