1
0
Fork 0
This commit is contained in:
qo-op 2020-05-19 22:15:44 +02:00
parent c2c82e2df7
commit e6a1e2b02c
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ PHPVERSION=$(ps auxf | grep php-fpm | grep -v -E 'color=auto|grep' | head -n 1 |
### ASTROPORT STATION PORTAL
sudo sed "s/_PHPVERSION_/$PHPVERSION/g" /home/$YOU/.zen/astroport/www/loveland.conf > /tmp/loveland.conf
sudo sed -i "s/_NODERNAME_/$NODENAME/g" /tmp/loveland.conf
[[ $isLAN |]] && sudo sed -i "s/_PORT_/10010/g" /tmp/loveland.conf
[[ $isLAN ]] && sudo sed -i "s/_PORT_/10010/g" /tmp/loveland.conf \
|| sudo sed -i "s/_PORT_/80/g" /tmp/loveland.conf
sudo sed -i "s/_APPLI_//g" /tmp/loveland.conf
sudo cp -f /tmp/loveland.conf /etc/nginx/conf.d/loveland.conf