Fix mocha test urls with nginx config.