Skip to content

Commit 00e3185

Browse files
committed
fix: nginx installation
1 parent d52e355 commit 00e3185

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

hiddify-panel/src

Submodule src updated from 5e76807 to 3a4926b

nginx/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source ../common/utils.sh
2-
if ! is_installed nginx; then
2+
if ! is_installed "nginx=1.26.*"; then
33
useradd nginx
44
curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor |
55
sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
@@ -9,7 +9,7 @@ if ! is_installed nginx; then
99
sudo apt update -y
1010

1111
fi
12-
install_package nginx=1.26*
12+
install_package "nginx=1.26.*"
1313

1414
systemctl kill nginx >/dev/null 2>&1
1515
systemctl disable nginx >/dev/null 2>&1

0 commit comments

Comments
 (0)