diff --git a/infra/nginx/Dockerfile b/infra/nginx/Dockerfile index 00e3763..3f706f0 100644 --- a/infra/nginx/Dockerfile +++ b/infra/nginx/Dockerfile @@ -2,4 +2,4 @@ FROM nginx:1.25.4-alpine-slim ARG NGINX_NAME -COPY ./${NGINX_NAME} /etc/nginx/templates/default.conf.template +COPY nginx_dev.conf /etc/nginx/templates/default.conf.template diff --git a/src/backend/config/settings/dev.py b/src/backend/config/settings/dev.py index 3860ef3..bd510bf 100644 --- a/src/backend/config/settings/dev.py +++ b/src/backend/config/settings/dev.py @@ -5,7 +5,7 @@ EMAIL_PORT = 587 CORS_ALLOWED_ORIGINS = [ - "http://89.23.117.80", - "http://devcodepet.tw1.ru", - "http://localhost:3000", + "https://89.23.117.80", + "https://devcodepet.tw1.ru", + "https://localhost:3000", ] diff --git a/src/backend/config/settings/prod.py b/src/backend/config/settings/prod.py index 19841cf..083701e 100644 --- a/src/backend/config/settings/prod.py +++ b/src/backend/config/settings/prod.py @@ -8,7 +8,7 @@ EMAIL_PORT = 587 CORS_ALLOWED_ORIGINS = [ - "http://89.23.117.168", - "http://testcodepet.tw1.ru", - "http://localhost:3000", + "https://89.23.117.168", + "https://testcodepet.tw1.ru", + "https://localhost:3000", ]