Skip to content

Commit

Permalink
feat: update Dockerfile.prod
Browse files Browse the repository at this point in the history
  • Loading branch information
manjurulhoque committed Feb 22, 2025
1 parent bfc5a86 commit 78d02da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployment/nginx/sites-enabled/django_project
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ server {
}

location / {
proxy_pass https://web:8000;
proxy_pass http://web:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
restart: always
build: ./deployment/nginx/
ports:
- "80:80"
- "8080:80"
volumes:
- static_volume:/usr/src/app/staticfiles
- media_volume:/usr/src/app/mediafiles
Expand Down

0 comments on commit 78d02da

Please sign in to comment.