This commit is contained in:
陆柯 2021-08-02 08:20:23 +08:00
parent 9fcdda20ca
commit d45225703b

View File

@ -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 <PORT>` prompts "Starting seahub at port <PORT> ..." but it actually doesn't listen on <PORT>.)
sudo ./seahub.sh start