File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,9 @@ install_if_not build-essential
161
161
# Needed for cron(tab)
162
162
install_if_not cron
163
163
164
+ # For TAB completion
165
+ install_if_not bash-completion
166
+
164
167
# Set DNS resolver
165
168
# https://unix.stackexchange.com/questions/442598/how-to-configure-systemd-resolved-and-systemd-networkd-to-use-local-dns-server-f
166
169
while :
@@ -253,6 +256,11 @@ sudo systemctl stop nginx.service
253
256
sudo systemctl start nginx.service
254
257
sudo systemctl enable nginx.service
255
258
259
+ # Enable Brotli
260
+ install_if_not libnginx-mod-http-brotli-filter
261
+ install_if_not libnginx-mod-http-brotli-static
262
+ install_if_not libnginx-mod-brotli
263
+
256
264
# Download TLSv 1.3 modified nginx.conf
257
265
rm -f /etc/nginx/nginx.conf
258
266
curl_to_dir " $STATIC " nginx.conf /etc/nginx/
@@ -545,6 +553,7 @@ server {
545
553
listen 443 ssl;
546
554
listen [::]:443 ssl;
547
555
http2 on;
556
+ brotli on;
548
557
549
558
## Your website name goes here.
550
559
# server_name example.com;
You can’t perform that action at this time.
0 commit comments