Sign inSign up

titom73/nginx

By titom73

•Updated over 6 years ago

Simple NGINX image to expose server information

Image
0

241

titom73/nginx repository overview

GitHub Docker Pulls Docker Image Size (tag) Docker Image Version (tag latest semver)

⁠NGINX image

Small docker image running NGINX on standard HTTP port and with a default page returning:

  • Server Address
  • Server name
  • Server Date
  • URI
  • Request ID

Docker image: titom73/nginx⁠

⁠Example:

⁠Docker
➜ docker run --rm -d -p 32081:80 titom73/nginx
093b8ee991330560cdd1b6df47bc9d77510925e5caa9b28046316daf0d4f5b1b

➜ curl -s http://127.0.0.1:32081
Server address: 172.17.0.2:80
Server name: 093b8ee99133
Date: 24/Jun/2020:07:16:16 +0000
URI: /
Request ID: c06ffc69c6aae7e99efe0bbff235ca8d
⁠Kubernetes
$ kubectl apply -f https://raw.githubusercontent.com/titom73/k8s-journey/master/manifests/deploy-nginx-hello.yml

Tag summary

Content type

Image

Digest

Size

8.8 MB

Last updated

over 6 years ago

docker pull titom73/nginx