diff --git a/install/homarr-install.sh b/install/homarr-install.sh index f46d09c5b..0a976b668 100644 --- a/install/homarr-install.sh +++ b/install/homarr-install.sh @@ -49,7 +49,7 @@ chmod 744 /appdata/redis cp /opt/homarr/redis.conf /etc/redis/redis.conf sed -i -e '$a\' /etc/redis/redis.conf grep -q '^bind 127.0.0.1 -::1$' /etc/redis/redis.conf || echo "bind 127.0.0.1 -::1" >>/etc/redis/redis.conf -rm /etc/nginx/nginx.conf +rm -f /etc/nginx/nginx.conf mkdir -p /etc/nginx/templates cp /opt/homarr/nginx.conf /etc/nginx/templates/nginx.conf echo $'#!/bin/bash\ncd /opt/homarr/apps/cli && node ./cli.cjs "$@"' >/usr/bin/homarr