Skip to content
Snippets Groups Projects
Commit 9b2cf0d6 authored by David Beniamine's avatar David Beniamine
Browse files

Merge branch '133-traefik-fail2ban' into 'master'

fix liste des domaine suite à l'installation su services ban

See merge request !20
parents 04f55a83 f701c8e8
No related branches found
No related tags found
1 merge request!20fix liste des domaine suite à l'installation su services ban
......@@ -12,5 +12,5 @@ fi
if id "dockerweb" >/dev/null 2>&1; then
# List all traefik domain
echo "===== list of domain ===="
docker ps -qa | xargs docker inspect | awk '/traefik.http.routers.*.rule/{print $2}' | sed -e 's/^"Host(`//' -e 's/`)",*//' -e 's/`,`/\n/g' | grep -v '!ClientIP' | sort -u
docker ps -qa | xargs docker inspect | awk '/traefik.http.routers.*.rule/{print $2}' | sed -e 's/^"Host(`//' -e 's/`)",*//' -e 's/`,`/\n/g' | grep -v 'ClientIP' | sort -u
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment