Skip to content

Commit feece1a

Browse files
authored
Change Nginx PPA
1 parent af50722 commit feece1a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

wordpress_install.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ run_script STATIC new_etc_mycnf
246246
install_if_not open-vm-tools
247247

248248
# Install Nginx
249-
check_command yes | add-apt-repository ppa:nginx/stable
249+
check_command yes | add-apt-repository ppa:ondrej/nginx
250250
apt update -q4 && spinner_loading
251251
install_if_not nginx
252252
sudo systemctl stop nginx.service
@@ -542,8 +542,9 @@ then
542542
touch "$SITES_AVAILABLE/$TLS_CONF"
543543
cat << TLS_CREATE > "$SITES_AVAILABLE/$TLS_CONF"
544544
server {
545-
listen 443 ssl http2;
546-
listen [::]:443 ssl http2;
545+
listen 443 ssl;
546+
listen [::]:443 ssl;
547+
http2 on;
547548
548549
## Your website name goes here.
549550
# server_name example.com;

0 commit comments

Comments
 (0)