mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-10 01:25:58 +02:00
Update 90-ingress.sh
This commit is contained in:
@@ -7,7 +7,7 @@ NGINX_CONFIG=/etc/nginx/sites-available/ingress.conf
|
|||||||
# Copy template
|
# Copy template
|
||||||
cp /defaults/default.conf "${NGINX_CONFIG}"
|
cp /defaults/default.conf "${NGINX_CONFIG}"
|
||||||
# Remove ssl part
|
# Remove ssl part
|
||||||
awk -i inplace -v n=4 '/server/{n--}; n > 0' "${NGINX_CONFIG}" > tmpfile
|
awk -v n=4 '/server/{n--}; n > 0' "${NGINX_CONFIG}" > tmpfile
|
||||||
mv tmpfile "${NGINX_CONFIG}"
|
mv tmpfile "${NGINX_CONFIG}"
|
||||||
|
|
||||||
# Remove ipv6
|
# Remove ipv6
|
||||||
|
|||||||
Reference in New Issue
Block a user