diff --git a/rootfs/etc/s6-overlay/scripts/nginx b/rootfs/etc/s6-overlay/scripts/nginx index d18b97d..8016ec6 100755 --- a/rootfs/etc/s6-overlay/scripts/nginx +++ b/rootfs/etc/s6-overlay/scripts/nginx @@ -3,7 +3,7 @@ source /scripts/common -if [[ "$(ls /etc/nginx/sites-enabled | wc -l)" == "0" ]]; then +if [[ "$(find /etc/nginx/sites-enabled/ -type f | wc -l)" == "0" ]]; then exec sleep infinity fi