1
0
mirror of https://github.com/elisspace/rtinst.git synced 2026-08-31 16:34:16 +00:00

Update rtinst.sh

This commit is contained in:
arakasi72
2016-04-24 18:40:47 +01:00
parent e41b3a7004
commit bd7ea6a86e

View File

@@ -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