Bind Traefik entry points to IPv6 addresses

This commit is contained in:
Root User 2026-02-10 17:41:29 +01:00
parent 8da43a68e1
commit 8c543be367
Signed by: root
GPG key ID: 087F0A95E5766D72

View file

@ -48,7 +48,8 @@
staticConfigOptions = { staticConfigOptions = {
entryPoints = { entryPoints = {
web = { web = {
address = ":80"; # Bind on IPv6 as well as IPv4 by using [::]:80
address = "[::]:80";
asDefault = true; asDefault = true;
http.redirections.entrypoint = { http.redirections.entrypoint = {
to = "websecure"; to = "websecure";
@ -56,7 +57,8 @@
}; };
}; };
websecure = { websecure = {
address = ":443"; # Bind on IPv6 as well as IPv4 by using [::]:443
address = "[::]:443";
asDefault = true; asDefault = true;
http.tls = { http.tls = {
domains = [ domains = [
@ -69,17 +71,19 @@
}; };
# Federation entrypoint: external TLS on 8448 # Federation entrypoint: external TLS on 8448
federation = { federation = {
address = ":8448"; # Bind on IPv6 as well as IPv4 by using [::]:8448
address = "[::]:8448";
}; };
# TeamSpeak entry points # TeamSpeak entry points
teamspeak-voice = { teamspeak-voice = {
address = ":9987/udp"; # UDP entrypoint bind to IPv6 as well
address = "[::]:9987/udp";
}; };
teamspeak-squery = { teamspeak-squery = {
address = ":10022/tcp"; address = "[::]:10022/tcp";
}; };
teamspeak-data = { teamspeak-data = {
address = ":30033/tcp"; address = "[::]:30033/tcp";
}; };
}; };
log = { log = {