Skip to content
Default Ingress Backend
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Fallback - Default Ingress Backend

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


Start the server

With opcode

$ op serve

or without

$ cd app && rackup -p 3000 -o

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"

You can’t perform that action at this time.