Skip to content

daticahealth/nginx-hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGINX webserver that serves a simple page containing its hostname, IP address and port as wells as the request URI and the local time of the webserver.

Modified from https://github.com/nginxinc/NGINX-Demos/tree/master/nginx-hello to run as non-root

The images are uploaded to Docker Hub -- https://hub.docker.com/r/datica/nginx-hello/.

How to run:

$ docker run -p 8080:8080 -d datica/nginx-hello

Now, assuming we found out the IP address and the port that mapped to port 8080 on the container, in a browser we can make a request to the webserver and get the page below: hello

The images were created to be used as simple backends for various load balancing demos.

Releases

No releases published

Packages

No packages published