Добавлены новые домены + файл включающий в себя все списки
All checks were successful
Production Build / publish (push) Successful in 18s
All checks were successful
Production Build / publish (push) Successful in 18s
This commit is contained in:
18
scripts/entrypoint.sh
Normal file
18
scripts/entrypoint.sh
Normal file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPT_DIR="/usr/share/nginx/html/scripts"
|
||||
|
||||
for f in "$SCRIPT_DIR"/*.sh; do
|
||||
if [ "$f" = "$SCRIPT_DIR/entrypoint.sh" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ -x "$f" ]; then
|
||||
echo "=> Executing $f"
|
||||
"$f"
|
||||
else
|
||||
echo "=> Skipping $f (not executable)"
|
||||
fi
|
||||
done
|
||||
|
||||
exec nginx "$@"
|
||||
Reference in New Issue
Block a user