From e7284e7725a0d4fb35322a6803376d2119c92650 Mon Sep 17 00:00:00 2001 From: phzhik Date: Thu, 6 Jul 2023 17:11:37 +0400 Subject: [PATCH] * Updated nginx.conf * Cleanup --- _deploy/nginx.conf | 4 ++-- poizonstore/settings.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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"]