The $host = make wordpress org conditional also…

The $host = conditional also needs some lines from the location / block, prior to the rewrite for index.php pulled from @404-extend in


        # uploaded files
        rewrite ^/([_0-9a-zA-Z-]+/)?files/(.+) /wp-includes/ms-files.php?file=$2 last;
        rewrite ^/core/handbook/files/(.+) /wp-includes/ms-files.php?file=$1 last;
        # add a trailing slash to /wp-admin
        rewrite ^/([_0-9a-zA-Z-]+/)?wp-admin$ /$1wp-admin/ permanent;
        rewrite ^/core/handbook/wp-admin$ /core/handbook/wp-admin/ permanent;

I suggest the various /core/handbook/ rules be pulled out into their own location block once moves to its own server block.

#nginx, #request