From 0d68233d4114ff56394fc1b41313947327f2d802 Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Thu, 18 Aug 2022 17:00:51 +0100 Subject: [PATCH] Update Dockerfile mounting,fix Nginx config typo --- docker-compose.yml | 12 ++++++------ nginx/conf.d/ref-test-app.conf | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e122191..1d53d80 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/nginx/conf.d/ref-test-app.conf b/nginx/conf.d/ref-test-app.conf index 24c2694..73b9b85 100644 --- a/nginx/conf.d/ref-test-app.conf +++ b/nginx/conf.d/ref-test-app.conf @@ -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;