Skip to content

Commit e0c8490

Browse files
asylumexpbalves42
andcommitted
Merge branch 'balves42/main' into main
Will close #114 Co-Authored-By: Bruno Alves <[email protected]>
2 parents 782d1fc + 6c04141 commit e0c8490

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

ct/nginxproxymanager.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ APP="Nginx Proxy Manager"
99
var_tags="proxy"
1010
var_cpu="2"
1111
var_ram="1024"
12-
var_disk="4"
12+
var_disk="12"
1313
var_os="debian"
1414
var_version="12"
1515
var_unprivileged="1"
@@ -157,4 +157,4 @@ description
157157
msg_ok "Completed Successfully!\n"
158158
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
159159
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
160-
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:81${CL}"
160+
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:81${CL}"

install/nginxproxymanager-install.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ $STD apt-get install -y \
3939
python3-venv \
4040
python3-cffi \
4141
python3-certbot \
42-
python3-certbot-dns-cloudflare
42+
python3-certbot-dns-cloudflare \
43+
golang
4344
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
4445
$STD pip3 install certbot-dns-multi==4.15.0
4546
$STD python3 -m venv /opt/certbot/
@@ -48,8 +49,9 @@ msg_ok "Installed Python Dependencies"
4849
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
4950

5051
msg_info "Installing Openresty"
51-
wget -qO - https://openresty.org/package/pubkey.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg
52-
echo -e "deb http://openresty.org/package/debian bullseye openresty" >/etc/apt/sources.list.d/openresty.list
52+
wget -O - https://openresty.org/package/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/openresty.gpg
53+
codename=`grep -Po 'VERSION="[0-9]+ \(\K[^)]+' /etc/os-release`
54+
echo "deb http://openresty.org/package/arm64/debian $codename openresty" | sudo tee /etc/apt/sources.list.d/openresty.list
5355
$STD apt-get update
5456
$STD apt-get -y install openresty
5557
msg_ok "Installed Openresty"

0 commit comments

Comments
 (0)