Skip to content

Commit

Permalink
last
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavCR committed Feb 24, 2024
1 parent e3365d2 commit e825356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions infra/docker-compose-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ services:
nginx:
image: ${DOCKERHUB_USERNAME}/${PROJECT_NAME}_nginx:latest
ports:
- "80:80"
- "8000:80"
volumes:
- static_volume:/var/html/static/
- static_volume:/staticfiles/
- media_value:/var/html/media/
- /etc/letsencrypt:/etc/letsencrypt
depends_on:
Expand Down
6 changes: 0 additions & 6 deletions infra/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ server {
proxy_set_header Host $http_host;
proxy_pass http://backend:8000/admin/;
}
location /static/ {
root /var/html/;
}
location /media/ {
root /var/html/;
}
location / {
alias /staticfiles/;
index index.html;
Expand Down

0 comments on commit e825356

Please sign in to comment.