Skip to content

Commit 1f1e2ac

Browse files
authored
include port in worker-name header (#7250)
1 parent 9d12242 commit 1f1e2ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/mvp/meta/mvp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ int TMVP::Init() {
6565
ActorSystem.Register(AppData.Tokenator = TMvpTokenator::CreateTokenator(TokensConfig, HttpProxyId));
6666

6767
if (Http) {
68-
auto ev = new NHttp::TEvHttpProxy::TEvAddListeningPort(HttpPort, FQDNHostName());
68+
auto ev = new NHttp::TEvHttpProxy::TEvAddListeningPort(HttpPort, TStringBuilder() << FQDNHostName() << ':' << HttpPort);
6969
ev->CompressContentTypes = {
7070
"text/plain",
7171
"text/html",
@@ -76,7 +76,7 @@ int TMVP::Init() {
7676
ActorSystem.Send(HttpProxyId, ev);
7777
}
7878
if (Https) {
79-
auto ev = new NHttp::TEvHttpProxy::TEvAddListeningPort(HttpsPort, FQDNHostName());
79+
auto ev = new NHttp::TEvHttpProxy::TEvAddListeningPort(HttpsPort, TStringBuilder() << FQDNHostName() << ':' << HttpsPort);
8080
ev->Secure = true;
8181
ev->SslCertificatePem = TYdbLocation::SslCertificate;
8282
ev->CompressContentTypes = {

0 commit comments

Comments
 (0)