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

Redirect fix breaks redirect #2825

Closed
m-stolle opened this Issue Jun 9, 2017 · 4 comments

Comments

Projects
None yet
4 participants
@m-stolle
Copy link

m-stolle commented Jun 9, 2017

What did you do?

Update 1.6.3 to 1.7.0

What did you expect to see?

https://server/prometheus opens prometheus

What did you see instead?

https://server/prometheus redirects to https://server/prometheus/prometheus/graph

Environment

  • System information:

Linux 3.10.0-514.16.1.el7.x86_64 x86_64

  • Prometheus version:
prometheus, version 1.7.0 (branch: master, revision: bfa37c8ee39d11078662dce16c162a61dccf616c)
  build user:       root@7a6329cc02bb
  build date:       20170607-09:43:48
  go version:       go1.8.3
  • Prometheus call:
-config.file=/etc/prometheus/prometheus.yml -web.listen-address=127.0.0.1:9090 -web.external-url=https://server/prometheus -alertmanager.url=http://127.0.0.1:9093/alertmanager -storage.local.path=/var/lib/prometheus/
  • httpd.conf:
ProxyPass         /prometheus  http://localhost:9090/prometheus nocanon
ProxyPassReverse  /prometheus  http://localhost:9090/prometheus

I think #2755 is responsible for the new behaviour. I already set the option web.route-prefix=/ but it does not help.

@grobie

This comment has been minimized.

Copy link
Member

grobie commented Jun 9, 2017

@brancz second report about this.

@brancz

This comment has been minimized.

Copy link
Member

brancz commented Jun 9, 2017

I didn't see the first one. Thanks for tagging, I'll prepare a fix asap.

@andrewhowdencom

This comment has been minimized.

Copy link

andrewhowdencom commented Jun 9, 2017

The other one is heree #2817

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 23, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.