Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 authored Oct 3, 2024
1 parent 11d058c commit 60ab640
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions addons/brotli-nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ rm -f /etc/apt/sources.list.d/nginx*
check_command yes | add-apt-repository ppa:ondrej/nginx
apt update -q4 && spinner_loading
install_if_not nginx
systemctl stop nginx.service
systemctl start nginx.service
systemctl enable nginx.service
systemctl stop nginx
systemctl start nginx
systemctl enable nginx
apt-get purge ppa-purge -y
apt-get autoremove -y

# Enable Brotli
Expand All @@ -41,7 +42,6 @@ fi
# Enable Brotli in config
rm -f /etc/nginx/nginx.conf
curl_to_dir "$STATIC" nginx.conf /etc/nginx/
systemctl restart nginx.service

# Restart Nginx
if nginx -t
Expand Down

0 comments on commit 60ab640

Please sign in to comment.