Skip to content

Commit

Permalink
Change Nginx PPA
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 authored Oct 2, 2024
1 parent af50722 commit feece1a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions wordpress_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ run_script STATIC new_etc_mycnf
install_if_not open-vm-tools

# Install Nginx
check_command yes | add-apt-repository ppa:nginx/stable
check_command yes | add-apt-repository ppa:ondrej/nginx
apt update -q4 && spinner_loading
install_if_not nginx
sudo systemctl stop nginx.service
Expand Down Expand Up @@ -542,8 +542,9 @@ then
touch "$SITES_AVAILABLE/$TLS_CONF"
cat << TLS_CREATE > "$SITES_AVAILABLE/$TLS_CONF"
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
## Your website name goes here.
# server_name example.com;
Expand Down

0 comments on commit feece1a

Please sign in to comment.