Sign inSign up

pareshpawar/simple-http-server

By pareshpawar

•Updated 6 months ago

Simple HTTP Server that returns IP address, headers, and many other request data.

Image
0

1.2K

pareshpawar/simple-http-server repository overview

⁠simple-http-server for as container image

Simple HTTP Server that returns ip address, headers and many other request data. use this as a test app to to deploy in your servers or practice to deploy

⁠How it works?
  • starts listening on port 8081 for http traffic
  • On every request it returns following things:
    • Request Type
    • Hostname or Host of request
    • Local IP of Container
    • Remote IP
    • All Request Headers
    • And Environment Varibale called YOUR_ENV
⁠How to use it?
  • I've hosted this imager on docker hub and quay.io
  • sudo docker run -p 8081:8081 pareshpawar/simple-http-server
    
  • optionally, forward port via your proxy or load balancer

Tag summary

Content type

Image

Digest

sha256:4ecfd3c66…

Size

15.4 MB

Last updated

6 months ago

docker pull pareshpawar/simple-http-server