From 055e26d6274e20f62e93e7ea892b92bd5eee82df Mon Sep 17 00:00:00 2001 From: lian Date: Sat, 22 Dec 2018 13:57:43 +0800 Subject: [PATCH] update gunicorn conf bind 0.0.0.0 -> 127.0.0.1 --- scripts/setup-seafile-mysql.py | 2 +- scripts/setup-seafile.sh | 2 +- scripts/upgrade/upgrade_6.2_6.3.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/setup-seafile-mysql.py b/scripts/setup-seafile-mysql.py index 16b1aba..cafb95d 100644 --- a/scripts/setup-seafile-mysql.py +++ b/scripts/setup-seafile-mysql.py @@ -1184,7 +1184,7 @@ daemon = True workers = 5 # default localhost:8000 -bind = "0.0.0.0:8000" +bind = "127.0.0.1:8000" # Pid pids_dir = '%(pids_dir)s' diff --git a/scripts/setup-seafile.sh b/scripts/setup-seafile.sh index 3273dcd..2229060 100755 --- a/scripts/setup-seafile.sh +++ b/scripts/setup-seafile.sh @@ -312,7 +312,7 @@ daemon = True workers = 5 # default localhost:8000 -bind = "0.0.0.0:8000" +bind = "127.0.0.1:8000" # Pid pids_dir = '$default_pids_dir' diff --git a/scripts/upgrade/upgrade_6.2_6.3.sh b/scripts/upgrade/upgrade_6.2_6.3.sh index a46c81e..1a0a167 100755 --- a/scripts/upgrade/upgrade_6.2_6.3.sh +++ b/scripts/upgrade/upgrade_6.2_6.3.sh @@ -199,7 +199,7 @@ daemon = True workers = 5 # default localhost:8000 -bind = "0.0.0.0:8000" +bind = "127.0.0.1:8000" # Pid pids_dir = '$default_pids_dir'