8 lines
219 B
Bash
8 lines
219 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
for s in servers/*; do
|
||
|
echo "$s uses these domains..."
|
||
|
for f in $s/docker-compose.d/custom/nginx/conf.d/*.conf; do
|
||
|
grep "server_name" $f | sed 's/^.*server_name//' | sed 's/;$//'
|
||
|
done
|
||
|
done
|