/fixed-response

Tiny HTTP server that responds to all requests with the same response

Primary LanguageGoGNU General Public License v3.0GPL-3.0

HTTP server with fixed response

This is a tiny HTTP server that responds to all requests with the same response.

Usage

Following example serves a "Not Found" page.

fixed-response -content 404.html -type text/html

Use -h option to list all options.

Container Usage

FROM vmj0/fixed-response:0.9
COPY ./404.html ./
CMD ["/fixed-response", "-content", "/404.html", "-type", "text/html"]