mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-04 23:45:07 +00:00
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:
parent
ddeeeed303
commit
a2f2ffb737
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user