Skip to content

Commit

Permalink
fix: make config compatible with Traefik v3
Browse files Browse the repository at this point in the history
  • Loading branch information
kumy committed Oct 11, 2024
1 parent 97369bf commit 25357d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/geokrety_legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ x-labels-website: &labels-website
traefik.http.middlewares.geokrety-{{ item }}-redirectregex.redirectregex.regex: "http://www.{{ params.website.uri[0] }}([/](.*))*"
traefik.http.middlewares.geokrety-{{ item }}-redirectregex.redirectregex.replacement: "https://{{ params.website.uri[0] }}$${1}"
traefik.http.routers.geokrety-{{ item }}-nginx.priority: 5
traefik.http.routers.geokrety-{{ item }}-nginx.rule: "Host(`{{ params.website.uri | join('`,`') }}`,`www.{{ params.website.uri[0] }}`)"
traefik.http.routers.geokrety-{{ item }}-nginx.rule: "Host(`{{ params.website.uri | join('`) || Host(`') }}`) || Host(`www.{{ params.website.uri[0] }}`)"
traefik.http.routers.geokrety-{{ item }}-nginx.middlewares: X-Forwarded-Https@file, geokrety-{{ item }}-redirectregex
traefik.http.services.geokrety-{{ item }}-nginx.loadbalancer.passhostheader: "true"
traefik.http.services.geokrety-{{ item }}-nginx.loadbalancer.server.port: 80
Expand Down

0 comments on commit 25357d7

Please sign in to comment.