Fix Dashboard not beign accessible (#4828)

This commit is contained in:
Slaviša Arežina 2025-05-29 20:32:30 +02:00 committed by GitHub
parent b6319b5dd3
commit f23b688d55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,26 +24,7 @@ msg_ok "Installed Traefik"
read -p "${TAB3}Enable Traefik WebUI (Port 8080)? [y/N]: " enable_webui
if [[ "$enable_webui" =~ ^[Yy]$ ]]; then
msg_info "Configuring Traefik WebUI"
mkdir -p /etc/traefik/config
cat <<EOF >/etc/traefik/traefik.yml
entryPoints:
web:
address: ":80"
traefik:
address: ":8080"
api:
dashboard: true
insecure: true
log:
level: INFO
providers:
file:
directory: /etc/traefik/config
watch: true
EOF
sed -i 's/localhost//g' /etc/traefik/traefik.yaml
msg_ok "Configured Traefik WebUI"
fi