wired up nginx in front of elasticsearch