diff --git a/Apache-RevProxNGINX-Installer.sh b/Apache-RevProxNGINX-Installer.sh index 31baa17..d385c4b 100644 --- a/Apache-RevProxNGINX-Installer.sh +++ b/Apache-RevProxNGINX-Installer.sh @@ -70,7 +70,7 @@ systemctl reload apache2 mkdir -p /var/www/"$domain"/public_html cat < /etc/apache2/sites-available/"$domain".conf - + ServerAdmin $email ServerName $domain ServerAlias www.$domain @@ -126,7 +126,7 @@ server { try_files \$uri \$uri/ /index.php; } - location /.php\$ { + location ~ \.php$ { proxy_pass http://$server_ip:8080; proxy_set_header Host \$host; proxy_set_header X-Real-IP \$remote_addr;