From 967d0b297d49cad061935c92da1a02d4f0c60d2c Mon Sep 17 00:00:00 2001 From: Elton Renda Date: Thu, 12 Aug 2021 11:09:46 +0200 Subject: [PATCH] fix: change how IP is retrieved --- lxc/nginx-proxy-manager/install/ubuntu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc/nginx-proxy-manager/install/ubuntu.sh b/lxc/nginx-proxy-manager/install/ubuntu.sh index de760b2..d8f8bda 100644 --- a/lxc/nginx-proxy-manager/install/ubuntu.sh +++ b/lxc/nginx-proxy-manager/install/ubuntu.sh @@ -229,7 +229,7 @@ log "Starting services" runcmd systemctl start openresty runcmd systemctl start npm -IP=$(ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}') +IP=$(hostname -I | cut -f1 -d ' ') log "Installation complete \e[0mNginx Proxy Manager should be reachable at the following URL.