diff --git a/docker-compose.yml b/docker-compose.yml index f67c37e..7b5281c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,7 @@ services: - ./ref-test/app/editor/static:/usr/share/nginx/html/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 + - ./ref-test/app/analysis/static:/usr/share/nginx/html/analysis/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 7bc22da..b1e99eb 100644 --- a/nginx/conf.d/ref-test-app.conf +++ b/nginx/conf.d/ref-test-app.conf @@ -45,6 +45,11 @@ server { alias /usr/share/nginx/html/view/static/; } + location ^~ /admin/analysis/static/ { + include /etc/nginx/mime.types; + alias /usr/share/nginx/html/analysis/static/; + } + # Proxy to the main app for all other requests location / { include /etc/nginx/conf.d/proxy_headers.conf;