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 dfdd69e commit edd52d0Copy full SHA for edd52d0
addons/brotli-nginx.sh
@@ -30,7 +30,7 @@ apt-get autoremove -y
30
31
# Enable Brotli
32
install_if_not libnginx-mod-brotli
33
-if ! -[ /etc/nginx/modules-enabled/50-mod-http-brotli-filter.conf ]
+if ! [ -f /etc/nginx/modules-enabled/50-mod-http-brotli-filter.conf ]
34
then
35
echo "load_module modules/ngx_http_brotli_filter_module.so;" > /etc/nginx/modules-enabled/50-mod-http-brotli-filter.conf
36
fi
0 commit comments