diff --git a/setup.sh b/setup.sh index a773ca9..39405b5 100644 --- a/setup.sh +++ b/setup.sh @@ -11,6 +11,7 @@ npm run build cd ../.. ./manage.py collectstatic ./manage.py migrate +sudo chown vpn.vpn . -R sudo cp misc/vpnmanager.service /etc/systemd/system/ sudo systemctl daemon-reload sudo systemctl enable vpnmanager diff --git a/vpnmanager/settings.py b/vpnmanager/settings.py index a44e63c..491cba5 100644 --- a/vpnmanager/settings.py +++ b/vpnmanager/settings.py @@ -9,7 +9,7 @@ SECRET_KEY = '=go8&h#^kh6ksr11e2z-@4qqd6t%63$x#-!s#l_yhw@oyanrys' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ["admin360.kumi.host"] +ALLOWED_HOSTS = ["admin360.kumi.host", "test360.kumi.host"] TWO_FACTOR_CALL_GATEWAY = None TWO_FACTOR_SMS_GATEWAY = "two_factor.gateways.twilio.gateway.Twilio"