Update Dockerfile mounting,fix Nginx config typo

This commit is contained in:
Vivek Santayana 2022-08-18 17:00:51 +01:00
parent 4caac25b14
commit 0d68233d41
2 changed files with 7 additions and 7 deletions

View File

@ -10,12 +10,12 @@ services:
volumes:
- ./certbot:/etc/letsencrypt:ro
- ./nginx:/etc/nginx
- ./src/html:/usr/share/nginx/html/
- ./ref-test/app/editor/static:/usr/share/nginx/html/admin/editor/static
- ./ref-test/app/admin/static:/usr/share/nginx/html/admin/static
- ./ref-test/app/quiz/static:/usr/share/nginx/html/quiz/static
- ./ref-test/app/view/static:/usr/share/nginx/html/view/static
- ./ref-test/app/root:/usr/share/nginx/html/root
- ./src/html/robots.txt:/usr/share/nginx/html/robotx.txt:ro
- ./ref-test/app/root:/usr/share/nginx/html/root:ro
- ./ref-test/app/admin/static:/usr/share/nginx/html/admin/static:ro
- ./ref-test/app/editor/static:/usr/share/nginx/html/admin/editor/static:ro
- ./ref-test/app/quiz/static:/usr/share/nginx/html/quiz/static:ro
- ./ref-test/app/view/static:/usr/share/nginx/html/view/static:ro
ports:
- 80:80
- 443:443

View File

@ -15,7 +15,7 @@ server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
# SSL configuration
# SSL configuration
include /etc/nginx/ssl.conf;
include /etc/nginx/certbot-challenge.conf;