Loading deploy/kubernetes/chart/files/fileServer/datasets.conf +4 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,10 @@ server { location /thredds/fileServer/{{ .path }}/ { {{- if .s3Location }} {{- $s3 := .s3Location }} proxy_pass https://{{ $s3.host }}:{{ $s3.port }}/{{ $s3.bucket }}/{{ trimAll "/" $s3.dataPath }}/; proxy_pass {{ $s3.protocol }}://{{ $s3.host }}:{{ $s3.port }}/{{ $s3.bucket }}/{{ trimAll "/" $s3.dataPath }}/; {{- range .s3Location.extraNginxConf }} {{ .conf }} {{- end }} {{- else }} alias {{ trimSuffix "/" .location }}/; autoindex on; Loading deploy/kubernetes/chart/values.yaml +12 −1 Original line number Diff line number Diff line Loading @@ -215,7 +215,18 @@ data: # - name: CMIP5 # path: esg_dataroot # location: /datacentre/archiveroots/archive/badc/cmip5/data # - name: "CMIP6Plus" # path: "esg_cmip6" # s3Location: # host: hostname # protocol: http or https # port: port number # bucket: bucket name # dataPath: CMIP6Plus # extraNginxConf (optional): a list of additional Nginx configurations # - conf: proxy_set_header Host hostname; # - conf: proxy_set_header X-Debug-Host hostname; # - conf: proxy_set_header X-Forwarded-Host hostname; # The pod and container security contexts for data serving pods # In particular, these may be required if using hostPath volumes for data, depending # on the permissions of that data Loading Loading
deploy/kubernetes/chart/files/fileServer/datasets.conf +4 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,10 @@ server { location /thredds/fileServer/{{ .path }}/ { {{- if .s3Location }} {{- $s3 := .s3Location }} proxy_pass https://{{ $s3.host }}:{{ $s3.port }}/{{ $s3.bucket }}/{{ trimAll "/" $s3.dataPath }}/; proxy_pass {{ $s3.protocol }}://{{ $s3.host }}:{{ $s3.port }}/{{ $s3.bucket }}/{{ trimAll "/" $s3.dataPath }}/; {{- range .s3Location.extraNginxConf }} {{ .conf }} {{- end }} {{- else }} alias {{ trimSuffix "/" .location }}/; autoindex on; Loading
deploy/kubernetes/chart/values.yaml +12 −1 Original line number Diff line number Diff line Loading @@ -215,7 +215,18 @@ data: # - name: CMIP5 # path: esg_dataroot # location: /datacentre/archiveroots/archive/badc/cmip5/data # - name: "CMIP6Plus" # path: "esg_cmip6" # s3Location: # host: hostname # protocol: http or https # port: port number # bucket: bucket name # dataPath: CMIP6Plus # extraNginxConf (optional): a list of additional Nginx configurations # - conf: proxy_set_header Host hostname; # - conf: proxy_set_header X-Debug-Host hostname; # - conf: proxy_set_header X-Forwarded-Host hostname; # The pod and container security contexts for data serving pods # In particular, these may be required if using hostPath volumes for data, depending # on the permissions of that data Loading