From 5bbb6ca195f9abcfeeafd309fa163630a4043f4e Mon Sep 17 00:00:00 2001 From: j Date: Mon, 21 Sep 2020 15:03:27 +0200 Subject: [PATCH] support ipv6 --- vm/pandora_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/pandora_install.sh b/vm/pandora_install.sh index dba5cb98..62fac308 100755 --- a/vm/pandora_install.sh +++ b/vm/pandora_install.sh @@ -186,7 +186,7 @@ fi # if pandora is running inside a container, expose backend at port 2620 if [ "$LXC" == "yes" ]; then - sed -i s/127.0.0.1/0.0.0.0/g /srv/pandora/pandora/gunicorn_config.py + sed -i "s/127.0.0.1/[::]/g" /srv/pandora/pandora/gunicorn_config.py echo "WEBSOCKET_ADDRESS = \"0.0.0.0\"" >> /srv/pandora/pandora/local_settings.py fi /srv/pandora/ctl start