From d050e9cd2782ce0b2124ebe483ee3424593342ba Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 13 Feb 2023 14:25:31 +0100 Subject: [PATCH] docs: append setting to make gRPC work (#5198) * docs: append setting to make gRPC work * Update _traefik.mdx * Update _traefik.mdx --------- Co-authored-by: Elio Bischof --- .../deploy/loadbalancing-example/example-traefik.yaml | 2 ++ docs/docs/self-hosting/manage/reverseproxy/_traefik.mdx | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/docs/self-hosting/deploy/loadbalancing-example/example-traefik.yaml b/docs/docs/self-hosting/deploy/loadbalancing-example/example-traefik.yaml index f8dbc78d3..618d089c8 100644 --- a/docs/docs/self-hosting/deploy/loadbalancing-example/example-traefik.yaml +++ b/docs/docs/self-hosting/deploy/loadbalancing-example/example-traefik.yaml @@ -23,6 +23,8 @@ http: isDevelopment: false allowedHosts: - 'my.domain' + customRequestHeaders: + :authority: 'my.domain' redirect-to-https: redirectScheme: scheme: https diff --git a/docs/docs/self-hosting/manage/reverseproxy/_traefik.mdx b/docs/docs/self-hosting/manage/reverseproxy/_traefik.mdx index f1e3049c1..f519e4523 100644 --- a/docs/docs/self-hosting/manage/reverseproxy/_traefik.mdx +++ b/docs/docs/self-hosting/manage/reverseproxy/_traefik.mdx @@ -20,6 +20,8 @@ http: isDevelopment: false allowedHosts: - 'localhost' + customRequestHeaders: + :authority: 'localhost' redirect-to-https: redirectScheme: scheme: https @@ -76,6 +78,8 @@ http: isDevelopment: false allowedHosts: - 'localhost' + customRequestHeaders: + :authority: 'localhost' redirect-to-https: redirectScheme: scheme: https @@ -127,6 +131,8 @@ http: isDevelopment: false allowedHosts: - 'localhost' + customRequestHeaders: + :authority: 'localhost' routers: router0: entryPoints: @@ -141,4 +147,4 @@ http: servers: - url: h2c://localhost:8080 passHostHeader: true -``` \ No newline at end of file +```