Zitadel behind api gateway

Hi,

I am trying to deploy Zitadel authentication service behind Consul Api Gateway.

Zitadel can successfully connect to the database through the service mesh and the frontend receives requests after writing the config entries. But I get an error message that is mentioned here, that the instance is not found

https://zitadel.com/docs/self-hosting/manage/custom-domain

And it mentions some header configurations in case Zitadel runs behind a reverse proxy.

This is the nginx configuration required

https://zitadel.com/docs/self-hosting/manage/reverseproxy/nginx

Is this possible with Consul Api Gateway in general?

And is it an issue that Zitadel uses http2?

Beware that ZITADEL uses HTTP/2 for all its connections. If you are using the mode external or disabled make sure to verify h2c compatibility.

Thanks

I just got an answer from the Zitadel community that only the host header needs to be set on envoy.

How can I set this?