8 lines
No EOL
186 B
Bash
Executable file
8 lines
No EOL
186 B
Bash
Executable file
#!/bin/sh
|
|
|
|
for f in servers/*/docker-compose.d/custom/nginx/conf.d/*.conf; do
|
|
if grep -e "server_name.*\.localhost" $f; then
|
|
echo "$f has a local server_name!"
|
|
exit 1
|
|
fi
|
|
done |