Commit Graph

711 Commits

Author SHA1 Message Date
Christoph Schug
a20783287c fix: fix Traefik 3 host rule matching
The function `HostHost` is an obvious typo, such a function does not
exist, most likely just `Hosts` is meant here.

Furthermore, Trafik 3 doesn't use the Gorilla Mux framework
anymore, therefore the matching using curly brace syntax like in
`{subhost:[a-z]+}` isn't supported anymore. For details, see [1].
Alas, the final Traffic 2 to 3 migration document dropped this crucial
information but at least all of those many examples using this method
which were in the Trafik 2 documentation were removed from the Traefik 3
documentation.

Also `[a-z]+` does not match all valid sub-domains as specified per RFC
1123 [2], and needs to be enhanced to support hyphen characters within a
single DNS label as well (but not at the start or the end of a label).
This is also a requirement for i18n domains in their ACE representation.

Actually the regular expression can be made even more strict to comply
with length limitations as defined in RFC 2181 [3] but this would require
pretty resource-intense lookarounds in the regular expression, therefore
those should be neglected here.

As we are doing regular expression match anyway, the `Host` function can
be dropped. It adds redundancy to the configuration and only would make
sense from a performance point of view, if the vast majority of requests
would lack any sub-domain.

Last but not least, the Trafik documentation isn't clear at all, whether
any potential port number is being stripped from the `Host` request header.
From empiric testing with Traefik 3.0.1 that's apparently the case, but
as it isn't a documented feature, we rather accept potential ports as
well.

Same when it comes to case-sensitivity. From testing it looks like the
hostname is always forced to lower-case chararcters, but strangely
enough even the official documentation contains an example which
suggests enabling case-insensitive mode for regular expression matching
using `(?i)`. Therefore we better stick with that one as well.

[1] https://traefik.io/blog/traefik-proxy-3-0-scope-beta-program-and-the-first-feature-drop/
[2] https://datatracker.ietf.org/doc/html/rfc1123
[3] https://datatracker.ietf.org/doc/html/rfc2181
2024-06-02 19:43:03 +02:00
Christoph Schug
251c8fa931
Merge pull request #297 from ChristianLempa/renovate/docker.io-library-nextcloud-29.0.x
chore(deps): update docker.io/library/nextcloud docker tag to v29.0.1
2024-05-31 22:28:30 +02:00
renovate[bot]
516474fdbd
chore(deps): update docker.io/library/nextcloud docker tag to v29.0.1 2024-05-31 19:59:38 +00:00
Christoph Schug
d58512788e
Merge pull request #296 from cschug/renovate_nginx_stable_only
fix: fix missing double-escaping of backslash
2024-05-31 12:18:28 +02:00
Christoph Schug
a0ba415d7d fix: fix missing double-escaping of backslash 2024-05-31 12:16:30 +02:00
Christoph Schug
4546a2651a
Merge pull request #295 from cschug/renovate_nginx_stable_only
fix: track Nginx stable releases only
2024-05-31 12:08:29 +02:00
Christoph Schug
37bbd523fe fix: track Nginx stable releases only 2024-05-31 12:06:58 +02:00
Christian Lempa
2a2104dadc fix error with docker image tag 2024-05-31 09:31:59 +02:00
Christoph Schug
29a91af6c7
Merge pull request #294 from ChristianLempa/renovate/docker.io-library-mariadb-11.x 2024-05-31 07:28:02 +02:00
renovate[bot]
1f7f03c3aa
chore(deps): update docker.io/library/mariadb docker tag to v11.4.2 2024-05-31 03:33:10 +00:00
Christoph Schug
e4a63913d8
Merge pull request #292 from ChristianLempa/renovate/docker.io-library-nginx-1.26.x 2024-05-31 02:17:49 +02:00
renovate[bot]
09ae4ae6ce
chore(deps): update docker.io/library/nginx docker tag to v1.26.1 2024-05-30 21:29:33 +00:00
Christoph Schug
1dd732e5dd
Merge pull request #291 from ChristianLempa/renovate/docker.io-semaphoreui-semaphore-2.9.x
chore(deps): update docker.io/semaphoreui/semaphore docker tag to v2.9.112
2024-05-30 20:05:58 +02:00
renovate[bot]
cef16de20a
chore(deps): update docker.io/semaphoreui/semaphore docker tag to v2.9.112 2024-05-30 13:48:55 +00:00
Christoph Schug
ccd21b737d
Merge pull request #290 from ChristianLempa/renovate/docker.io-semaphoreui-semaphore-2.9.x 2024-05-26 23:47:14 +02:00
renovate[bot]
77861c5f00
chore(deps): update docker.io/semaphoreui/semaphore docker tag to v2.9.109 2024-05-26 19:57:09 +00:00
Christian Lempa
2addd70eda
Merge pull request #289 from ChristianLempa:traefik-v3-migration
traefik v3 config migration
2024-05-26 10:24:19 +02:00
Christian Lempa
889d56c495 traefik v3 config migration 2024-05-26 10:24:00 +02:00
Christian Lempa
b19999ee57
Merge pull request #288 from ChristianLempa/renovate/ghcr.io-home-assistant-home-assistant-2024.5.x
chore(deps): update ghcr.io/home-assistant/home-assistant docker tag to v2024.5.5
2024-05-25 10:26:56 +02:00
renovate[bot]
7adad336ec
chore(deps): update ghcr.io/home-assistant/home-assistant docker tag to v2024.5.5 2024-05-24 23:05:07 +00:00
Christian Lempa
7b9ab1dc79
Merge pull request #287 from ChristianLempa/renovate/docker.io-library-mariadb-10.6.x
chore(deps): update docker.io/library/mariadb docker tag to v10.6.18
2024-05-24 09:02:27 +02:00
renovate[bot]
28beb643d5
chore(deps): update docker.io/library/mariadb docker tag to v10.6.18 2024-05-24 03:31:06 +00:00
Christoph Schug
d589b4d8ac
Merge pull request #285 from ChristianLempa/renovate/docker.io-library-traefik-3.0.x
chore(deps): update docker.io/library/traefik docker tag to v3.0.1
2024-05-22 21:11:48 +02:00
renovate[bot]
30b732f95f
chore(deps): update docker.io/library/traefik docker tag to v3.0.1 2024-05-22 19:11:34 +00:00
Christoph Schug
f9a7cbe0ce
Merge pull request #284 from ChristianLempa/renovate/docker.io-b4bz-homer-24.x
chore(deps): update docker.io/b4bz/homer docker tag to v24.05.1
2024-05-22 15:41:47 +02:00
renovate[bot]
9f03d4a242
chore(deps): update docker.io/b4bz/homer docker tag to v24.05.1 2024-05-22 13:26:39 +00:00
Christoph Schug
4ef956f184
Merge pull request #283 from ChristianLempa/renovate/quay.io-prometheus-node-exporter-1.8.x
chore(deps): update quay.io/prometheus/node-exporter docker tag to v1.8.1
2024-05-22 00:25:14 +02:00
renovate[bot]
dc5a059029
chore(deps): update quay.io/prometheus/node-exporter docker tag to v1.8.1 2024-05-21 21:30:23 +00:00
Christoph Schug
70f02a62ac
Merge pull request #282 from ChristianLempa/renovate/docker.io-library-redis-7.2.x
chore(deps): update docker.io/library/redis docker tag to v7.2.5
2024-05-21 10:44:23 +02:00
renovate[bot]
f210094a35
chore(deps): update docker.io/library/redis docker tag to v7.2.5 2024-05-21 00:28:22 +00:00
Christoph Schug
15d9478a04
Merge pull request #281 from ChristianLempa/renovate/ghcr.io-home-assistant-home-assistant-2024.5.x
chore(deps): update ghcr.io/home-assistant/home-assistant docker tag to v2024.5.4
2024-05-18 00:25:15 +02:00
renovate[bot]
c1be88d81e
chore(deps): update ghcr.io/home-assistant/home-assistant docker tag to v2024.5.4 2024-05-17 21:11:16 +00:00
Christoph Schug
9d525e997a
Merge pull request #280 from ChristianLempa/renovate/docker.io-grafana-grafana-oss-11.x
chore(deps): update docker.io/grafana/grafana-oss docker tag to v11
2024-05-14 15:14:03 +02:00
renovate[bot]
f29c4520ab
chore(deps): update docker.io/grafana/grafana-oss docker tag to v11 2024-05-14 08:53:30 +00:00
Christoph Schug
9219f61176
Merge pull request #279 from ChristianLempa/renovate/docker.io-grafana-grafana-oss-10.4.x
chore(deps): update docker.io/grafana/grafana-oss docker tag to v10.4.3
2024-05-14 10:53:00 +02:00
renovate[bot]
9985db1dd5
chore(deps): update docker.io/grafana/grafana-oss docker tag to v10.4.3 2024-05-14 07:45:53 +00:00
Christoph Schug
b000a2e37d
Merge pull request #278 from ChristianLempa/renovate/ghcr.io-home-assistant-home-assistant-2024.5.x
chore(deps): update ghcr.io/home-assistant/home-assistant docker tag to v2024.5.3
2024-05-11 01:19:48 +02:00
renovate[bot]
7914768058
chore(deps): update ghcr.io/home-assistant/home-assistant docker tag to v2024.5.3 2024-05-10 23:12:07 +00:00
Christoph Schug
11d3560faf
Merge pull request #277 from ChristianLempa/renovate/docker.io-library-postgres-16.x
chore(deps): update docker.io/library/postgres docker tag to v16.3
2024-05-10 09:30:50 +02:00
renovate[bot]
578fc7fe33
chore(deps): update docker.io/library/postgres docker tag to v16.3 2024-05-10 00:26:30 +00:00
Christoph Schug
1fa72bbd9e
Merge pull request #276 from ChristianLempa/renovate/docker.io-prom-prometheus-2.x 2024-05-09 09:01:41 +02:00
renovate[bot]
f4aa0d7aa3
chore(deps): update docker.io/prom/prometheus docker tag to v2.52.0 2024-05-09 00:38:01 +00:00
Christoph Schug
3789e18c88
Merge pull request #274 from ChristianLempa/renovate/helm-2.13.x
chore(deps): update terraform helm to v2.13.2
2024-05-08 20:15:47 +02:00
Christoph Schug
e7e32743a1
Merge pull request #275 from ChristianLempa/renovate/kubernetes-2.x
chore(deps): update terraform kubernetes to v2.30.0
2024-05-08 20:15:17 +02:00
renovate[bot]
7b2d981d41
chore(deps): update terraform kubernetes to v2.30.0 2024-05-08 16:54:35 +00:00
renovate[bot]
0413ca1d31
chore(deps): update terraform helm to v2.13.2 2024-05-08 16:54:30 +00:00
Christoph Schug
96a0498f2a
Merge pull request #273 from ChristianLempa/renovate/ghcr.io-goauthentik-server-2024.4.x
chore(deps): update ghcr.io/goauthentik/server docker tag to v2024.4.2
2024-05-07 21:32:29 +02:00
renovate[bot]
dc3d5257d9
chore(deps): update ghcr.io/goauthentik/server docker tag to v2024.4.2 2024-05-07 19:30:02 +00:00
Christoph Schug
655571cf35
Merge pull request #272 from ChristianLempa/renovate/lscr.io-linuxserver-duplicati-2.0.x
chore(deps): update lscr.io/linuxserver/duplicati docker tag to v2.0.8
2024-05-07 21:29:30 +02:00
renovate[bot]
5ebc5d3577
chore(deps): update lscr.io/linuxserver/duplicati docker tag to v2.0.8 2024-05-07 13:50:28 +00:00