Currently, it has many assumptions that it lives as the admin tool and is called in a specific way. This makes setting up a second copy and testing changes there before deployment very difficult.
Instead, it should not care about its name and be testable at https://tools.wmflabs.org/whatever/; to do that, the ways in which nginx calls it for 503s & Co. need to be considered as well.