mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-16 08:15:00 +00:00
add https3 support to traefik and fix 404 redirect for traefik3
This commit is contained in:
1 parent
99431998f5
commit
c1b996ef05
2 files changed
+7
-2
No files matched your search
@@ -209,10 +209,13 @@ respond 404
|
|||||||
1 => 'https',
|
1 => 'https',
|
||||||
],
|
],
|
||||||
'service' => 'noop',
|
'service' => 'noop',
|
||||||
'rule' => 'HostRegexp(`{catchall:.*}`)',
|
'rule' => 'HostRegexp(`.+`)',
|
||||||
|
'tls' => [
|
||||||
|
'certResolver' => 'letsencrypt',
|
||||||
|
],
|
||||||
'priority' => 1,
|
'priority' => 1,
|
||||||
'middlewares' => [
|
'middlewares' => [
|
||||||
0 => 'redirect-regexp@file',
|
0 => 'redirect-regexp',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -164,6 +164,7 @@ function generate_default_proxy_configuration(Server $server)
|
|||||||
'ports' => [
|
'ports' => [
|
||||||
'80:80',
|
'80:80',
|
||||||
'443:443',
|
'443:443',
|
||||||
|
'443:443/udp',
|
||||||
'8080:8080',
|
'8080:8080',
|
||||||
],
|
],
|
||||||
'healthcheck' => [
|
'healthcheck' => [
|
||||||
@@ -187,6 +188,7 @@ function generate_default_proxy_configuration(Server $server)
|
|||||||
'--entryPoints.http.http2.maxConcurrentStreams=50',
|
'--entryPoints.http.http2.maxConcurrentStreams=50',
|
||||||
'--entrypoints.https.http.encodequerysemicolons=true',
|
'--entrypoints.https.http.encodequerysemicolons=true',
|
||||||
'--entryPoints.https.http2.maxConcurrentStreams=50',
|
'--entryPoints.https.http2.maxConcurrentStreams=50',
|
||||||
|
'--entrypoints.https.http3',
|
||||||
'--providers.docker.exposedbydefault=false',
|
'--providers.docker.exposedbydefault=false',
|
||||||
'--providers.file.directory=/traefik/dynamic/',
|
'--providers.file.directory=/traefik/dynamic/',
|
||||||
'--providers.file.watch=true',
|
'--providers.file.watch=true',
|
||||||
|
|||||||
Reference in new issue
Block a user