diff --git a/docker-compose.yml b/docker-compose.yml index b86ea06..b44e458 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,9 +13,9 @@ services: - ./src/html/robots.txt:/usr/share/nginx/html/robots.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/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/admin/view/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 d278a3b..7bc22da 100644 --- a/nginx/conf.d/ref-test-app.conf +++ b/nginx/conf.d/ref-test-app.conf @@ -37,12 +37,12 @@ server { location ^~ /admin/editor/static/ { include /etc/nginx/mime.types; - alias /usr/share/nginx/html/admin/editor/static/; + alias /usr/share/nginx/html/editor/static/; } location ^~ /admin/view/static/ { include /etc/nginx/mime.types; - alias /usr/share/nginx/html/admin/view/static/; + alias /usr/share/nginx/html/view/static/; } # Proxy to the main app for all other requests