summaryrefslogtreecommitdiffstats
path: root/server/bin/setserveraddr
diff options
context:
space:
mode:
Diffstat (limited to 'server/bin/setserveraddr')
-rwxr-xr-xserver/bin/setserveraddr1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/bin/setserveraddr b/server/bin/setserveraddr
index 4f1bc148..5ac10c06 100755
--- a/server/bin/setserveraddr
+++ b/server/bin/setserveraddr
@@ -89,6 +89,7 @@ if [ -n "$SERVERIP" ]; then
# - servidor o IP en URLs excepto si contienen "localhost".
sed -e "s,ServidorAdm=.*,ServidorAdm=$SERVERIP," \
-e "s,IPlocal=.*,IPlocal=$SERVERIP," \
+ -e "s,UrlMenu=https?://\([^/]*\)/\(.*\),UrlMenu=https://$SERVERIP/\2," \
-e '/localhost/!s,https\?://[^/]*/\(.*\),https://'$SERVERIP'/\1,' $f >$tmpfile
file="${f/./-$1.}"
# Si se usa otro interfaz o cambian los datos de red; ...