Loading .gitlab-ci.yml +0 −7 Original line number Diff line number Diff line Loading @@ -154,13 +154,6 @@ build:tomcat: CONTEXT_DIR: $CI_PROJECT_DIR/images/tomcat needs: ["build:jre"] build:keycloak: extends: .docker-build stage: build-3 variables: CONTEXT_DIR: $CI_PROJECT_DIR/images/keycloak needs: ["build:jdk"] build:python-build: extends: .docker-build stage: build-3 Loading deploy/ansible/roles/data/templates/fileserver.conf.j2 +8 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,14 @@ server { return 404; } # Health check location /health { return 200; } location /thredds/fileServer/health { return 200; } # Create a location block for each dataset {% for dataset in data_datasets %} location /thredds/fileServer/{{ dataset.path }}/ { Loading deploy/ansible/roles/proxy/templates/proxy.conf.j2 +5 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,11 @@ server { return 404; } # Health check location /health { return 200; } {% if auth_enabled %} location /verify { set $query ''; Loading deploy/kubernetes/chart/files/fileServer/datasets.conf +9 −5 Original line number Diff line number Diff line Loading @@ -4,14 +4,18 @@ server { listen 8080 default_server; server_name _; # By default, return 404 # Look for static files to serve location / { return 404; root /var/www/html; autoindex off; } # Disallow access to all dot-files location ~ /\. { return 404; # Health checks location /health { return 200; } location /thredds/fileServer/health { return 200; } # Create a location block for each dataset Loading deploy/kubernetes/chart/files/fileServer/robots.txt 0 → 100644 +2 −0 Original line number Diff line number Diff line User-agent: * Disallow: / No newline at end of file Loading
.gitlab-ci.yml +0 −7 Original line number Diff line number Diff line Loading @@ -154,13 +154,6 @@ build:tomcat: CONTEXT_DIR: $CI_PROJECT_DIR/images/tomcat needs: ["build:jre"] build:keycloak: extends: .docker-build stage: build-3 variables: CONTEXT_DIR: $CI_PROJECT_DIR/images/keycloak needs: ["build:jdk"] build:python-build: extends: .docker-build stage: build-3 Loading
deploy/ansible/roles/data/templates/fileserver.conf.j2 +8 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,14 @@ server { return 404; } # Health check location /health { return 200; } location /thredds/fileServer/health { return 200; } # Create a location block for each dataset {% for dataset in data_datasets %} location /thredds/fileServer/{{ dataset.path }}/ { Loading
deploy/ansible/roles/proxy/templates/proxy.conf.j2 +5 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,11 @@ server { return 404; } # Health check location /health { return 200; } {% if auth_enabled %} location /verify { set $query ''; Loading
deploy/kubernetes/chart/files/fileServer/datasets.conf +9 −5 Original line number Diff line number Diff line Loading @@ -4,14 +4,18 @@ server { listen 8080 default_server; server_name _; # By default, return 404 # Look for static files to serve location / { return 404; root /var/www/html; autoindex off; } # Disallow access to all dot-files location ~ /\. { return 404; # Health checks location /health { return 200; } location /thredds/fileServer/health { return 200; } # Create a location block for each dataset Loading
deploy/kubernetes/chart/files/fileServer/robots.txt 0 → 100644 +2 −0 Original line number Diff line number Diff line User-agent: * Disallow: / No newline at end of file