From bd7ea6a86e10462d4100d3e0410edd3d447bfc5c Mon Sep 17 00:00:00 2001 From: arakasi72 Date: Sun, 24 Apr 2016 18:40:47 +0100 Subject: [PATCH] Update rtinst.sh --- rtinst.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtinst.sh b/rtinst.sh index 45a5c4e..e678f6b 100644 --- a/rtinst.sh +++ b/rtinst.sh @@ -624,7 +624,7 @@ echo "location ~ \.php$ {" > /etc/nginx/conf.d/php echo " fastcgi_split_path_info ^(.+\.php)(/.+)$;" >> /etc/nginx/conf.d/php if [ $RELNO = 12 ]; then echo " fastcgi_pass 127.0.0.1:9000;" >> /etc/nginx/conf.d/php -elif [ $RELNO = 12 ]; then +elif [ $RELNO = 16 ]; then echo " fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;" >> /etc/nginx/conf.d/php else echo " fastcgi_pass unix:/var/run/php5-fpm.sock;" >> /etc/nginx/conf.d/php