Skip to content

Commit

Permalink
updated deploy files
Browse files Browse the repository at this point in the history
  • Loading branch information
ratarov committed Dec 6, 2023
1 parent f2cea5c commit c07c83f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ services:

backend:
container_name: prosept_back
build: ../.
# image: ratarov/prosept_back:latest
# build: ../.
image: ratarov/prosept_back:latest
restart: always
volumes:
- static_data:/app/static/
Expand Down
16 changes: 8 additions & 8 deletions deploy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ server {
proxy_pass http://backend:8000/admin/;
}

# location / {
# root /usr/share/nginx/html;
# index index.html index.htm;
# try_files $uri /index.html;
# proxy_set_header Host $host;
# proxy_set_header X-Forwarded-Host $host;
# proxy_set_header X-Forwarded-Server $host;
# }
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri /index.html;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
}
}

0 comments on commit c07c83f

Please sign in to comment.