diff --git a/.install/loveland.sh b/.install/loveland.sh index 57b41f3..3023b21 100755 --- a/.install/loveland.sh +++ b/.install/loveland.sh @@ -175,7 +175,7 @@ sudo sed -i "s/_APPLI_/jukebox/g" /tmp/jukebox.conf sudo cp -f /tmp/jukebox.conf /etc/nginx/conf.d/jukebox.conf ### G1SMS loveland entrance localhost:10099 ("ipfs p2p" forwarded) -[[ $(which gammu )]] && sudo cp -f /home/$YOU/.zen/astroport/www/g1sms.conf /etc/nginx/conf.d/ +[[ $(which gammu) ]] && sudo sed "s/_PHPVERSION_/$PHPVERSION/g" /home/$YOU/.zen/astroport/www/g1sms.conf > /tmp/g1sms.conf && sudo cp -f /tmp/g1sms.conf /etc/nginx/conf.d/ sudo systemctl restart nginx || err=1 diff --git a/www/g1sms.conf b/www/g1sms.conf index b5cf205..506cee6 100644 --- a/www/g1sms.conf +++ b/www/g1sms.conf @@ -22,8 +22,8 @@ server { fastcgi_param SCRIPT_FILENAME $request_filename; } - error_log /var/log/nginx/_APPLI_.error.log; - access_log /var/log/nginx/_APPLI_.access.log; + error_log /var/log/nginx/g1sms.error.log; + access_log /var/log/nginx/g1sms.access.log; }