diff --git a/.install/loveland.sh b/.install/loveland.sh index e116e2c..74c0f46 100755 --- a/.install/loveland.sh +++ b/.install/loveland.sh @@ -108,7 +108,7 @@ echo $nodename if [[ ! $isLAN ]]; then ### TODO install Feddless.social - oasis --allow-host $nodename 2>&1>/dev/null & + oasis --allow-host $nodename --host $nodename --public 2>&1>/dev/null & echo "BE CAREFULL your SSB identity could be publicly controled..." else oasis --allow-host $nodename --host $nodename 2>&1>/dev/null & @@ -139,8 +139,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 \ -|| sudo sed -i "s/_PORT_/80/g" /tmp/loveland.conf +sudo sed -i "s/_PORT_/10010/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 diff --git a/www/LOVELand/index.html b/www/LOVELand/index.html index 8b7b672..01d01a7 100644 --- a/www/LOVELand/index.html +++ b/www/LOVELand/index.html @@ -56,7 +56,7 @@