mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 19:44:21 +00:00
docs(nginx): change example for webauthn (#4382)
Co-authored-by: Florian Forster <florian@zitadel.com>
This commit is contained in:
parent
721e48a489
commit
d8a834f364
@ -15,12 +15,22 @@ http {
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
grpc_pass grpc://localhost:8080;
|
grpc_pass grpc://localhost:8080;
|
||||||
grpc_set_header Host $host:$server_port;
|
grpc_set_header Host $host;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
:::info
|
||||||
|
If another port than the default HTTPS port 443 is used replace
|
||||||
|
|
||||||
|
` grpc_set_header Host $host;`
|
||||||
|
|
||||||
|
with
|
||||||
|
|
||||||
|
` grpc_set_header Host $host:$server_port;`
|
||||||
|
:::
|
||||||
|
|
||||||
## TLS mode enabled
|
## TLS mode enabled
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -38,12 +48,22 @@ http {
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
grpc_pass grpcs://localhost:8080;
|
grpc_pass grpcs://localhost:8080;
|
||||||
grpc_set_header Host $host:$server_port;
|
grpc_set_header Host $host;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
:::info
|
||||||
|
If another port than the default HTTPS port 443 is used replace
|
||||||
|
|
||||||
|
` grpc_set_header Host $host;`
|
||||||
|
|
||||||
|
with
|
||||||
|
|
||||||
|
` grpc_set_header Host $host:$server_port;`
|
||||||
|
:::
|
||||||
|
|
||||||
## TLS mode disabled
|
## TLS mode disabled
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -58,8 +78,18 @@ http {
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
grpc_pass grpc://localhost:8080;
|
grpc_pass grpc://localhost:8080;
|
||||||
grpc_set_header Host $host:$server_port;
|
grpc_set_header Host $host;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
:::info
|
||||||
|
If another port than the default HTTP port 80 is used replace
|
||||||
|
|
||||||
|
` grpc_set_header Host $host;`
|
||||||
|
|
||||||
|
with
|
||||||
|
|
||||||
|
` grpc_set_header Host $host:$server_port;`
|
||||||
|
:::
|
||||||
|
Loading…
Reference in New Issue
Block a user