Logo
Explore Help
Sign In
darkhelm/notifications-api
1
0
Fork 0
You've already forked notifications-api
mirror of https://github.com/GSA/notifications-api.git synced 2025-12-20 07:21:13 -05:00
Code Issues Packages Projects Releases Wiki Activity
Files
510c2269920cbc2a50a1007b658eaed39fe28187
notifications-api/paas-failwhale/manifest.yml

9 lines
126 B
YAML
Raw Normal View History

add api-paas-failwhale for use when we don't want API to serve any traffic, but paas is still running. It's a simple nginx_buildpack app that is pushed separately, and then two makefile commands that toggle the routes (and also stop/start the nginx app). For all endpoints/methods it returns a 503, with the response body. ``` { "status_code": 503, "errors": [ { "error": "PlannedMaintenanceError", "message": "We’re performing some essential updates. Notify will be back shortly. Please check https://status.notifications.service.gov.uk/ for more details" } ] } ``` NB: If you hit `/` it'll still return 404 - as this is defined in the paas-proxy instance on aws.
2020-05-11 18:53:52 +01:00
---
applications:
- name: notify-api-failwhale
buildpacks:
- nginx_buildpack
memory: 256M
no-route: true
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 1198ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API