Sign inSign up

dannyben/fallback

By dannyben

•Updated 1 day ago

Default Ingress Backend

Image
0

5.5K

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:16244b0c1…

Size

103.4 MB

Last updated

1 day ago

docker pull dannyben/fallback