Skip to content

Commit

Permalink
fix: nginx installation
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Dec 18, 2024
1 parent d52e355 commit 00e3185
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hiddify-panel/src
Submodule src updated from 5e7680 to 3a4926
4 changes: 2 additions & 2 deletions nginx/install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source ../common/utils.sh
if ! is_installed nginx; then
if ! is_installed "nginx=1.26.*"; then
useradd nginx
curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor |
sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
Expand All @@ -9,7 +9,7 @@ if ! is_installed nginx; then
sudo apt update -y

fi
install_package nginx=1.26*
install_package "nginx=1.26.*"

systemctl kill nginx >/dev/null 2>&1
systemctl disable nginx >/dev/null 2>&1
Expand Down

0 comments on commit 00e3185

Please sign in to comment.