hello everyone
This commit is contained in:
nabijonovdavronbek619@gmail.com
2025-12-25 18:22:04 +05:00
3 changed files with 4 additions and 4 deletions

View File

@@ -27,15 +27,14 @@ services:
build:
context: .
dockerfile: ./docker/Dockerfile.web
restart: always
command: sh resources/scripts/entrypoint.sh
environment:
- PYTHONPYCACHEPREFIX=/var/cache/pycache
volumes:
- './:/code'
depends_on:
- db
restart: always
db:
image: postgres:16

View File

@@ -165,5 +165,6 @@ CSRF_TRUSTED_ORIGINS = [
"https://serenmebel.uz",
"https://www.serenmebel.uz",
"https://api.serenmebel.uz",
"https://admin.promtechno.uz",
]

View File

@@ -27,7 +27,7 @@ http {
server_name _;
location / {
proxy_pass http://web:8001;
proxy_pass http://web:8000;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;