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 <eliobischof@gmail.com>
This commit is contained in:
Florian Forster 2023-02-13 14:25:31 +01:00 committed by GitHub
parent e3e21cf336
commit d050e9cd27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -23,6 +23,8 @@ http:
isDevelopment: false
allowedHosts:
- 'my.domain'
customRequestHeaders:
:authority: 'my.domain'
redirect-to-https:
redirectScheme:
scheme: https

View File

@ -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
```
```