Commit 77d34749 authored by William Tucker's avatar William Tucker
Browse files

Fixed bug in the config

parent 47dbd47e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,8 +17,8 @@ server {
    # Create a location block for each dataset
    {{- range .Values.data.datasets }}
    location /thredds/fileServer/{{ .path }}/ {
        {{- if $solr.s3Location }}
        {{- $s3 := $solr.s3Location -}}
        {{- if .s3Location }}
        {{- $s3 := .s3Location -}}
        proxy_pass https://{{ $s3.host }}:{{ $s3.port }}/{{ $s3.bucket }}/{{ $s3.dataPath }}/;
        {{- else }}
        alias {{ trimSuffix "/" .location }}/;
+2 −2
Original line number Diff line number Diff line
@@ -13,8 +13,8 @@

    <!-- Produce a scan element for each of the given datasets -->
    {{- range .Values.data.datasets }}
    {{- if $solr.s3Location }}
    {{- $s3 := $solr.s3Location -}}
    {{- if .s3Location }}
    {{- $s3 := .s3Location -}}
    <datasetScan name="{{ .name }}" ID="{{ .path }}" path="{{ .path }}" location="cdms3://{{ $s3.host }}:{{ $s3.port }}/{{ $s3.bucket }}?{{ $s3.dataPath }}/#delimiter=/">
    {{- else }}
    <datasetScan name="{{ .name }}" ID="{{ .path }}" path="{{ .path }}" location="{{ .location }}">