Skip to content
Snippets Groups Projects
Commit f701c8e8 authored by Elian Loraux's avatar Elian Loraux
Browse files

fix domain list after install ban services

parent b9be0883
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