From 312c539276c305e4ed7c99e15b5349a959ee7280 Mon Sep 17 00:00:00 2001 From: ictmaatwerk Date: Wed, 12 Sep 2018 10:29:27 +0000 Subject: [PATCH] 'Apache-RevProxNGINX-Installer.sh' updaten --- Apache-RevProxNGINX-Installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;