Skip to content
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

delft/eris: include Prometheus port in nginx proxy_pass directive #134

Merged
merged 1 commit into from Nov 22, 2020

Conversation

lukegb
Copy link
Contributor

@lukegb lukegb commented Nov 22, 2020

In NixOS 20.09, the listenAddress directive was changed to be purely
for the address and not for the address:port combination as previously.

This results in nginx now talking to itself using plaintext HTTP on
0.0.0.0. With forceSSL, this means nginx issues a redirect for the
hostname -> the client gets a redirect to
https://0.0.0.0/prometheus/....

Fixes #133

@lukegb lukegb changed the title delft/eris: include Prometheus port in nginx proxy_pass directive WIP: delft/eris: include Prometheus port in nginx proxy_pass directive Nov 22, 2020
In NixOS 20.09, the listenAddress directive was changed to be purely
for the address and not for the address:port combination as previously.

This results in nginx now talking to *itself* using plaintext HTTP on
0.0.0.0. With forceSSL, this means nginx issues a redirect for the
hostname -> the client gets a redirect to
https://0.0.0.0/prometheus/....

Fixes NixOS#133
@lukegb lukegb changed the title WIP: delft/eris: include Prometheus port in nginx proxy_pass directive delft/eris: include Prometheus port in nginx proxy_pass directive Nov 22, 2020
@grahamc grahamc merged commit 5a83e7c into NixOS:master Nov 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

status.nixos.org broken
2 participants