add https3 support to traefik and fix 404 redirect for traefik3

This commit is contained in:
Darren Sisson
2024-10-10 18:47:01 +01:00
parent 99431998f5
commit c1b996ef05
2 changed files with 7 additions and 2 deletions

View File

@@ -209,10 +209,13 @@ respond 404
1 => 'https',
],
'service' => 'noop',
'rule' => 'HostRegexp(`{catchall:.*}`)',
'rule' => 'HostRegexp(`.+`)',
'tls' => [
'certResolver' => 'letsencrypt',
],
'priority' => 1,
'middlewares' => [
0 => 'redirect-regexp@file',
0 => 'redirect-regexp',
],
],
],