docs(nginx): pass host as received from client (#8690)

# Which Problems Are Solved

The Host header reaching ZITADEL must be the same like it is requested
by the browser, or all sorts of issues arise. However, in the NginX
docs, it is appended by the port.

# How the Problems Are Solved

Port is removed from examples

# Additional Context

- Closes https://github.com/zitadel/zitadel/issues/7804
- Relates to https://github.com/netbirdio/netbird/issues/1395
This commit is contained in:
Elio Bischof 2024-10-02 18:47:58 +02:00 committed by GitHub
parent ddeeeed303
commit a2f2ffb737
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ http {
http2 on;
location / {
grpc_pass grpc://zitadel-disabled-tls:8080;
grpc_set_header Host $host:$server_port;
grpc_set_header Host $host;
}
}
}

View File

@ -9,7 +9,7 @@ http {
ssl_certificate_key /etc/certs/selfsigned.key;
location / {
grpc_pass grpcs://zitadel-enabled-tls:8080;
grpc_set_header Host $host:$server_port;
grpc_set_header Host $host;
}
}
}

View File

@ -9,7 +9,7 @@ http {
ssl_certificate_key /etc/certs/selfsigned.key;
location / {
grpc_pass grpc://zitadel-external-tls:8080;
grpc_set_header Host $host:$server_port;
grpc_set_header Host $host;
}
}
}