diff --git a/templates/workloads/services/lb-web/manifest.yml b/templates/workloads/services/lb-web/manifest.yml index 2158a9e006c..da38f4ec85e 100644 --- a/templates/workloads/services/lb-web/manifest.yml +++ b/templates/workloads/services/lb-web/manifest.yml @@ -16,8 +16,11 @@ image: http: # Requests to this path will be forwarded to your service. # To match all requests you can use the "/" path. - path: '{{.Path}}' + path: '{{.Path}}' {{if ne .Path "/"}} # Must be unique per-service when deploying multiple services. {{end}} # You can specify a custom health check path. The default is "/" + # WARNING: Passing healthchecks are required and are how ECS measures task health. Failure to pass healthcheck may result cyclical restarts. + # NOTE: The healthcheck URL should be appended to the "path" value. + # For example, if "path" is set to "api", and your API serves it's healthcheck on "/healthz", this value should be "/api/healthz" # healthcheck: '{{.HealthCheckPath}}' # Number of CPU units for the task.