diff --git a/ct/nginxproxymanager.sh b/ct/nginxproxymanager.sh index a01e7ac75..d7ba3feaf 100644 --- a/ct/nginxproxymanager.sh +++ b/ct/nginxproxymanager.sh @@ -9,7 +9,7 @@ APP="Nginx Proxy Manager" var_tags="proxy" var_cpu="2" var_ram="1024" -var_disk="4" +var_disk="12" var_os="debian" var_version="12" var_unprivileged="1" @@ -157,4 +157,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:81${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:81${CL}" diff --git a/install/nginxproxymanager-install.sh b/install/nginxproxymanager-install.sh index 6c6b0fd80..72e6a957b 100644 --- a/install/nginxproxymanager-install.sh +++ b/install/nginxproxymanager-install.sh @@ -39,7 +39,8 @@ $STD apt-get install -y \ python3-venv \ python3-cffi \ python3-certbot \ - python3-certbot-dns-cloudflare + python3-certbot-dns-cloudflare \ + golang rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED $STD pip3 install certbot-dns-multi==4.15.0 $STD python3 -m venv /opt/certbot/ @@ -48,8 +49,9 @@ msg_ok "Installed Python Dependencies" VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)" msg_info "Installing Openresty" -wget -qO - https://openresty.org/package/pubkey.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg -echo -e "deb http://openresty.org/package/debian bullseye openresty" >/etc/apt/sources.list.d/openresty.list +wget -O - https://openresty.org/package/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty.gpg +codename=`grep -Po 'VERSION="[0-9]+ \(\K[^)]+' /etc/os-release` +echo "deb http://openresty.org/package/arm64/debian $codename openresty" | sudo tee /etc/apt/sources.list.d/openresty.list $STD apt-get update $STD apt-get -y install openresty msg_ok "Installed Openresty"