1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-28 11:03:57 +02:00

Update nginxproxymanager-install.sh

tweak
This commit is contained in:
tteckster 2023-06-20 10:36:49 -04:00 committed by GitHub
parent 68e3b934ab
commit 5bf0944dd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
# License: MIT # License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE # https://github.com/tteck/Proxmox/raw/main/LICENSE
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color color
verb_ip6 verb_ip6
catch_errors catch_errors
@ -30,19 +30,20 @@ $STD apt-get -y install \
git git
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Python" msg_info "Updating Python"
$STD apt-get install -y \ $STD apt-get install -y \
python3 \ python3 \
python3-dev \ python3-dev \
python3-pip \ python3-pip \
python3-venv \ python3-venv \
python3-cffi \ python3-cffi \
python3-certbot \ python3-certbot \
python3-certbot-dns-cloudflare python3-certbot-dns-cloudflare
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
$STD python3 -m venv /opt/certbot/ $STD python3 -m venv /opt/certbot/
msg_ok "Installed Python" msg_ok "Updated Python"
VERSION="$( awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release )" VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
msg_info "Installing Openresty" msg_info "Installing Openresty"
wget -qO - https://openresty.org/package/pubkey.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg wget -qO - https://openresty.org/package/pubkey.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg