Skip to content

Commit edd52d0

Browse files
author
Daniel Hansson
committed
SC
Signed-off-by: Daniel Hansson <[email protected]>
1 parent dfdd69e commit edd52d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/brotli-nginx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ apt-get autoremove -y
3030

3131
# Enable Brotli
3232
install_if_not libnginx-mod-brotli
33-
if ! -[ /etc/nginx/modules-enabled/50-mod-http-brotli-filter.conf ]
33+
if ! [ -f /etc/nginx/modules-enabled/50-mod-http-brotli-filter.conf ]
3434
then
3535
echo "load_module modules/ngx_http_brotli_filter_module.so;" > /etc/nginx/modules-enabled/50-mod-http-brotli-filter.conf
3636
fi

0 commit comments

Comments
 (0)