Sign inSign up

dannyben/fallback

By dannyben

•Updated 4 months ago

Default Ingress Backend

Image
0

2.3K

dannyben/fallback repository overview

⁠Fallback - Default Ingress Backend

This is a simple docker image intended to be used as a default backend to an nginx proxy.



⁠Usage

⁠Start the server

With opcode⁠

$ op serve

or without

$ cd app && rackup -p 3000 -o 0.0.0.0

or with docker-compose

$ docker-compose up

or with plain docker

$ docker run --rm -it -p 3000:3000 dannyben/fallback
⁠View the pages

Then you can test HTTP codes by either passing them in the path:

$ open http://localhost:3000/503

or by sending the X-Code header:

$ curl -v http://localhost:3000 -H "X-Code: 503"

Tag summary

Content type

Image

Digest

sha256:53a065030…

Size

102 MB

Last updated

4 months ago

docker pull dannyben/fallback