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

Add support for https in Nginx proxy #5

Open
samber opened this issue Feb 16, 2020 · 3 comments
Open

Add support for https in Nginx proxy #5

samber opened this issue Feb 16, 2020 · 3 comments

Comments

@samber
Copy link

samber commented Feb 16, 2020

Hi,

For now, Prometheus console is only available in http, on port 9090.

I would like to use your Prometheus instance as a backend for the demonstrations of 2 JS library I'm working on:

Github pages are hosted with HTTPS URLs. Browser are not allowed to send requests to insecure HTTP endpoint.

Are you willing to add TLS to this nginx proxy ? Do you have a robustperception.io wildcard certificate ? Do you prefer LetsEncrypt ?

@brian-brazil
Copy link
Member

The challenge here is that making it work properly work over https means setting the external url, which would break http.

@samber
Copy link
Author

samber commented Feb 17, 2020

Yes. But can we expose one more port on your server ?

@brian-brazil
Copy link
Member

Yes, there's apache running. But Prometheus's web handling is only designed to work on a single URL.

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

No branches or pull requests

2 participants