Skip to content
Snippets Groups Projects
Commit be61a3bd authored by Daniel Lyons's avatar Daniel Lyons
Browse files

Configure the local environment so that files wind up in /var/www and are served properly by nginx

parent 8251bc8a
No related branches found
No related tags found
No related merge requests found
Pipeline #1195 passed
......@@ -20,10 +20,10 @@ server {
}
location ~ ^/dl/(?:(.*))/(?:(.*)) {
alias /tmp/workspaces_tmp/$1/$2;
alias /var/www/$1/$2;
autoindex on;
autoindex_exact_size off;
autoindex_format html;
autoindex_localtime on;
}
}
\ No newline at end of file
}
......@@ -11,6 +11,7 @@ services:
volumes:
- ./apps/web/ws-nginx.local.conf:/etc/nginx/conf.d/default.conf
- ./tmp/:/tmp/workspaces_tmp
- ./delivery_root:/var/www
db:
image: marconi.aoc.nrao.edu/ops/ci/db:workspaces
restart: always
......@@ -50,6 +51,7 @@ services:
- ./apps:/packages/apps
- ./testing:/packages/testing
- ./tmp/:/tmp/workspaces_tmp
- ./delivery_root:/var/www
capability:
build:
......
......@@ -23,7 +23,8 @@ edu.nrao.archive.workspaces.ProcessingSettings.useCondor = false
#
# Delivery settings
#
edu.nrao.archive.workflow.config.DeliverySettings.nraoDownloadDirectory = /root/downloads
edu.nrao.archive.workflow.config.DeliverySettings.nraoDownloadDirectory = /var/www
edu.nrao.archive.workflow.config.DeliverySettings.nraoDownloadUrl = http://localhost:4444/dl
#
# Data fetcher settings
......
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