Unverified Commit 846f98cc authored by William Tucker's avatar William Tucker Committed by GitHub
Browse files

Merge pull request #257 from ESGF/add-health-check-endpoint

added basic health check endpoint
parents 928c887a 0d613dd6
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -14,6 +14,11 @@ server {
        return 404;
    }

    # Health check
    location /thredds/fileServer/healthcheck {
        return 200;
    }

    # Create a location block for each dataset
    {% for dataset in data_datasets %}
    location /thredds/fileServer/{{ dataset.path }}/ {
+5 −0
Original line number Diff line number Diff line
@@ -14,6 +14,11 @@ server {
        return 404;
    }

    # Health check
    location /thredds/fileServer/healthcheck {
        return 200;
    }

    # Create a location block for each dataset
    {{- range .Values.data.datasets }}
    location /thredds/fileServer/{{ .path }}/ {