Added initial files

This commit is contained in:
gyurix
2023-05-23 18:18:36 +02:00
parent a57795594f
commit e2107f4725
69 changed files with 17370 additions and 0 deletions

16
entrypoint.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
nginx &
FILE="/etc/nginx/conf.d/nginx.conf"
LAST=`md5sum "$FILE"`
while true; do
sleep 0.1;
if [ -f "$FILE" ]; then
NEW=`md5sum "$FILE"`
if [ "$NEW" != "$LAST" ]; then
nginx -s reload;
LAST="$NEW";
fi
fi
done