diff --git a/docker-compose.yml b/docker-compose.yml index f44bcdf..3d56781 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,7 @@ services: - ./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/root:/usr/share/nginx/html/root diff --git a/nginx/conf.d/ref-test-app.conf b/nginx/conf.d/ref-test-app.conf index b92bca4..36c1247 100644 --- a/nginx/conf.d/ref-test-app.conf +++ b/nginx/conf.d/ref-test-app.conf @@ -29,6 +29,11 @@ server { alias /usr/share/nginx/html/admin/static/; } + location ^~ /admin/editor/static/ { + include /etc/nginx/mime.types; + alias /usr/share/nginx/html/admin/editor/static/; + } + location / { include /etc/nginx/conf.d/proxy_headers.conf; proxy_pass http://reftest;