Loading deploy/kubernetes/chart/files/fileServer/datasets.conf +3 −7 Original line number Diff line number Diff line Loading @@ -4,14 +4,10 @@ server { listen 8080 default_server; server_name _; # By default, return 404 # Look for static files to serve location / { return 404; } # Disallow access to all dot-files location ~ /\. { return 404; root /var/www/html; autoindex off; } # Health checks Loading deploy/kubernetes/chart/templates/fileServer/staticcontent.yaml +3 −3 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ metadata: name: {{ include "esgf.component.fullname" (list . "staticContent") }} labels: {{ include "esgf.component.labels" (list . "staticContent" $fileServer.labels) | nindent 4 }} data: {{- if $fileServer.robotsTxtEnabled -}} robots.txt: {{ tpl (.Files.Get "files/fileServer/robots.txt") . | quote }} {{- end -}} {{ if $fileServer.robotsTxtEnabled }} robots.txt: {{ (tpl (.Files.Get "files/fileServer/robots.txt") . | quote ) }} {{ end }} {{- end -}} Loading
deploy/kubernetes/chart/files/fileServer/datasets.conf +3 −7 Original line number Diff line number Diff line Loading @@ -4,14 +4,10 @@ server { listen 8080 default_server; server_name _; # By default, return 404 # Look for static files to serve location / { return 404; } # Disallow access to all dot-files location ~ /\. { return 404; root /var/www/html; autoindex off; } # Health checks Loading
deploy/kubernetes/chart/templates/fileServer/staticcontent.yaml +3 −3 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ metadata: name: {{ include "esgf.component.fullname" (list . "staticContent") }} labels: {{ include "esgf.component.labels" (list . "staticContent" $fileServer.labels) | nindent 4 }} data: {{- if $fileServer.robotsTxtEnabled -}} robots.txt: {{ tpl (.Files.Get "files/fileServer/robots.txt") . | quote }} {{- end -}} {{ if $fileServer.robotsTxtEnabled }} robots.txt: {{ (tpl (.Files.Get "files/fileServer/robots.txt") . | quote ) }} {{ end }} {{- end -}}