diff --git a/install-seafile.sh b/install-seafile.sh index 001a5b5..5bdd864 100755 --- a/install-seafile.sh +++ b/install-seafile.sh @@ -17,7 +17,7 @@ ln -s seafile-server-8.0.6 sea sudo ./seafile.sh start -# changed "127.0.0.1:8000" to "0.0.0.0:8000", otherwise it can only be accessed on the localhost. +# changed "127.0.0.1:8000" to "0.0.0.0:8000", otherwise it can only be accessed on the localhost, unless using nginx/apache to proxy sudo sed -i "s/127\.0\.0\.1/0.0.0.0/g" ../conf/gunicorn.conf.py # to change seahub port, to edit gunicorn.conf.py, it works although it still promts "Starting seahub at port 8000 ...". (Directly `./seahub.sh start ` prompts "Starting seahub at port ..." but it actually doesn't listen on .) sudo ./seahub.sh start