Skip to content
Snippets Groups Projects
Commit d3c8106a authored by Andrew Kapuscinski's avatar Andrew Kapuscinski
Browse files

Ws 159 route to webroot local env

parent 4b4d03b5
No related branches found
No related tags found
1 merge request!147Ws 159 route to webroot local env
Pipeline #1067 passed
......@@ -76,3 +76,4 @@ package-lock.json
services/**/**/apps
services/**/**/shared
services/**/**/testing
tmp/
......@@ -19,4 +19,11 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location ~ ^/dl/(?:(.*))/(?:(.*)) {
alias /tmp/workspaces_tmp/$1/$2;
autoindex on;
autoindex_exact_size off;
autoindex_format html;
autoindex_localtime on;
}
}
\ No newline at end of file
......@@ -10,6 +10,7 @@ services:
command: nginx -g "daemon off;"
volumes:
- ./apps/web/ws-nginx.local.conf:/etc/nginx/conf.d/default.conf
- ./tmp/:/tmp/workspaces_tmp
db:
image: marconi.aoc.nrao.edu/ops/ci/db:workspaces
restart: always
......@@ -48,6 +49,7 @@ services:
- ./shared:/packages/shared
- ./apps:/packages/apps
- ./testing:/packages/testing
- ./tmp/:/tmp/workspaces_tmp
capability:
build:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment