Skip to content

Commit 7ed8569

Browse files
committed
have to add static volume to nginx and minor config fix
1 parent 29846c8 commit 7ed8569

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ services:
1717
- ./nginx/nginx.conf:/etc/nginx/conf.d/nginx.conf:ro
1818
- ./certbot/www/:/var/www/certbot/:ro
1919
- ./certbot/conf/:/etc/nginx/ssl/:ro
20+
- ./static:/usr/src/app/static
2021
ports:
2122
- 80:80
2223
- 443:443

nginx/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ server {
9898
}
9999

100100
location /static/ {
101-
alias /usr/src/app/static//;
101+
alias /usr/src/app/static/;
102102
}
103103

104104
}

0 commit comments

Comments
 (0)