Skip to content

Commit

Permalink
fix: Don't strip grafana prefix from url
Browse files Browse the repository at this point in the history
  • Loading branch information
kumy committed May 27, 2024
1 parent b5330cc commit e6bd8d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/geokrety_legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -902,10 +902,9 @@ services:
traefik.protocol: "http"
traefik.port: 3000
# traefik2
traefik.http.middlewares.geokrety-{{ item }}-grafana-stripprefix.stripprefix.prefixes: "/grafana"
traefik.http.middlewares.geokrety-{{ item }}-grafana-remove-auth-header.headers.customrequestheaders.Authorization: ""
traefik.http.routers.geokrety-{{ item }}-grafana.rule: "Host(`{{ params.website.uri[0] }}`) && PathPrefix(`/grafana`)"
traefik.http.routers.geokrety-{{ item }}-grafana.middlewares: "X-Forwarded-Https@file,geokrety-{{ item }}-grafana-stripprefix,geokrety-{{ item }}-grafana-remove-auth-header"
traefik.http.routers.geokrety-{{ item }}-grafana.middlewares: "X-Forwarded-Https@file,geokrety-{{ item }}-grafana-remove-auth-header"
traefik.http.routers.geokrety-{{ item }}-grafana.priority: 10
traefik.http.services.geokrety-{{ item }}-grafana.loadbalancer.passhostheader: "true"
traefik.http.services.geokrety-{{ item }}-grafana.loadbalancer.server.port: 3000
Expand Down

0 comments on commit e6bd8d1

Please sign in to comment.