diff --git a/copilot/fsd-authenticator/manifest.yml b/copilot/fsd-authenticator/manifest.yml index 3526cf26..6a0e9ee8 100755 --- a/copilot/fsd-authenticator/manifest.yml +++ b/copilot/fsd-authenticator/manifest.yml @@ -133,6 +133,22 @@ environments: value: 80 requests: 30 response_time: 2s + sidecars: + nginx: + port: 8087 + image: + location: xscys/nginx-sidecar-basic-auth + variables: + FORWARD_PORT: 8080 + CLIENT_MAX_BODY_SIZE: 10m + secrets: + BASIC_AUTH_USERNAME: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_USERNAME + BASIC_AUTH_PASSWORD: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_PASSWORD + http: + target_container: nginx + healthcheck: + path: /healthcheck + port: 8080 prod: http: alias: authenticator.access-funding.levellingup.gov.uk