Skip to content

Commit 392d69e

Browse files
authored
enable Brotli in Nginx system wide
1 parent 45368fd commit 392d69e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

addons/brotli-nginx.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ then
3636
fi
3737

3838
# Enable Brotli in config
39-
# TBA
39+
rm -f /etc/nginx/nginx.conf
40+
curl_to_dir "$STATIC" nginx.conf /etc/nginx/
4041

4142
# Restart Nginx
4243
if nginx -t

0 commit comments

Comments
 (0)