We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53cead6 commit 45368fdCopy full SHA for 45368fd
addons/brotli-nginx.sh
@@ -21,11 +21,11 @@ root_check
21
22
# Replace old Nginx with new
23
install_if_not ppa-purge
24
-add-apt-repository ppa:ondrej/nginx
25
-apt update -q4 && spinner_loading
26
-apt-get upgrade nginx -y
27
ppa-purge nginx/stable
28
rm -f /etc/apt/sources.list.d/nginx*
+add-apt-repository ppa:ondrej/nginx -y
+apt update -q4 && spinner_loading
+install_if_not nginx
29
apt-get autoremove -y
30
31
# Enable Brotli
@@ -35,6 +35,9 @@ then
35
echo "load_module modules/ngx_http_brotli_filter_module.so;" > /etc/nginx/modules-enabled/50-mod-http-brotli-filter.conf
36
fi
37
38
+# Enable Brotli in config
39
+# TBA
40
+
41
# Restart Nginx
42
if nginx -t
43
then
0 commit comments