Skip to content

Commit 2cbc3bc

Browse files
authored
installer mods
1 parent 205fc16 commit 2cbc3bc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

wordpress_install.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,16 +255,17 @@ install_if_not open-vm-tools
255255
check_command yes | add-apt-repository ppa:ondrej/nginx
256256
apt update -q4 && spinner_loading
257257
install_if_not nginx
258-
sudo systemctl stop nginx.service
259-
sudo systemctl start nginx.service
260-
sudo systemctl enable nginx.service
258+
systemctl stop nginx.service
259+
systemctl start nginx.service
260+
systemctl enable nginx.service
261261

262262
# Enable Brotli
263263
install_if_not libnginx-mod-brotli
264264

265-
# Download TLSv 1.3 modified nginx.conf
265+
# Download TLSv 1.3 and Brotli modified nginx.conf
266266
rm -f /etc/nginx/nginx.conf
267267
curl_to_dir "$STATIC" nginx.conf /etc/nginx/
268+
systemctl restart nginx.service
268269

269270
# Install PHP 8.1
270271
apt install -y \

0 commit comments

Comments
 (0)