use /elasticsearch path instead of full url