Sign inSign up

mbentley/nginx-output-text

By mbentley

Updated about 8 hours ago

nginx that outputs a text string for any URI

Image
0

6.2K

mbentley/nginx-output-text repository overview

mbentley/nginx-output-text

docker image for nginx; outputs a text string for any URI based off of mbentley/nginx

To pull this image: docker pull mbentley/nginx-output-text

Example usage: docker run -it -p 80:80 --name nginx-output-text -e OUTPUT_TEXT="hello world" mbentley/nginx-output-text

By default, this just runs a basic nginx server that listens on port 80 and returns the text "hello world" for any URI you try to access. Change the text by changing the OUTPUT_TEXT environment variable.

Tag summary

Content type

Image

Digest

sha256:70dd94952

Size

10.4 MB

Last updated

about 8 hours ago

docker pull mbentley/nginx-output-text