-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[loki-distributed] fix: force nginx gateway to resolve upstream hostname on missing locations #3206
[loki-distributed] fix: force nginx gateway to resolve upstream hostname on missing locations #3206
Conversation
02071bf
to
2b1a7a4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there @rsicart, thanks for the contribution, Have you tested it ?
helm template works correctly. Installing the chart locally in a kind cluster works fine, gateway is Running and nginx config syntax is ok:
|
2b1a7a4
to
90e60bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rsicart Could you please address the requested changes and fix CI lint error ? Thank you!
…e on missing locations Signed-off-by: R.Sicart <[email protected]> In order to force nginx to resolve hostnames in proxy_pass directive, we need to set a variable and use it in proxy_pass. Otherswise nginx only resolves hostnames at boot time.
Signed-off-by: R.Sicart <[email protected]>
0ab10d4
to
648d633
Compare
In order to force nginx to resolve hostnames in proxy_pass directive, we
need to set a variable and use it in proxy_pass. Otherswise nginx only
resolves hostnames at boot time.