Not using map directive
This commit is contained in:
parent
0631aecc36
commit
1aeb3e7f73
@ -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'.
|
# Rewrite multisite '.../wp-.*' and '.../*.php'.
|
||||||
if (!-e $request_filename) {
|
if (!-e $request_filename) {
|
||||||
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
|
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user