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

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

parent 73bd43c5
No related branches found
No related tags found
1 merge request!176Delivery rework
......@@ -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