Unverified Commit e587bf26 authored by srnlorenz's avatar srnlorenz Committed by GitHub
Browse files

Update datasets.conf

S3 buckets sometimes serve content over HTTP instead of HTTPS.
parent ef73104a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ 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 }}