Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 281 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 281 Bytes

HTTP Default backend

Return "default-backend - 404" by default.

But can return custom response by setting environment variable RESPONSE_CODE and RESPONSE_TEXT

docker run -d -p 8080:8080 -e RESPONSE_CODE=404 -e RESPONSE_TEXT=NotFound pmint93/default-backend:latest