diff --git a/_deploy/nginx.conf b/_deploy/nginx.conf index dc90c09..733f0a7 100644 --- a/_deploy/nginx.conf +++ b/_deploy/nginx.conf @@ -1,9 +1,9 @@ upstream django { - server web:8001; + server 127.0.0.1:8001; } server { - set $APP_HOME /var/www/kwork-vbaportal; + set $APP_HOME /var/www/phzhik-poizonstore; listen 80; charset utf-8; diff --git a/poizonstore/settings.py b/poizonstore/settings.py index 2f5dc38..9f59089 100644 --- a/poizonstore/settings.py +++ b/poizonstore/settings.py @@ -28,7 +28,6 @@ CDEK_CLIENT_SECRET = '***REMOVED***' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] ALLOWED_HOSTS = ["crm-poizonstore.ru", "127.0.0.1", "localhost", "45.84.227.72"] INTERNAL_IPS = ["127.0.0.1"]