Skip to content
This repository was archived by the owner on Jun 25, 2025. It is now read-only.

Commit 9b42c24

Browse files
committed
Only using endpoint with port inside
1 parent 8ef9171 commit 9b42c24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ events {
33
}
44
http {
55
upstream elasticsearch {
6-
server ${ELASTICSEARCH_ENDPOINT}:${ELASTICSEARCH_PORT};
6+
server ${ELASTICSEARCH_ENDPOINT};
77
keepalive 15;
88
}
99

@@ -16,7 +16,7 @@ http {
1616
proxy_http_version 1.1;
1717
proxy_set_header Connection "Keep-Alive";
1818
proxy_set_header Proxy-Connection "Keep-Alive";
19-
proxy_set_header Host ${ELASTICSEARCH_ENDPOINT}:${ELASTICSEARCH_PORT};
19+
proxy_set_header Host ${ELASTICSEARCH_ENDPOINT};
2020
}
2121
}
2222
}

0 commit comments

Comments
 (0)