Fix RegEx based nginx configurations

Using HTTP_HOST instead of SERVER_NAME