Skip to content

Docker image handling HTTP and self-signed HTTPS requests.

Notifications You must be signed in to change notification settings

danthegoodman/https-echoserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https-echoserver

A docker image which responds to both HTTP and self-signed HTTPS requests.

Running

docker run -d -p 8080:80 -p 8443:443 danthegoodman/https-echoserver

curl http://localhost:8080/hello
# {"httpVersion":"1.1","method":"GET","url":"/hello","headers":{"host":"localhost:8080","user-agent":"curl/7.49.1","accept":"*/*"}}

curl -k https://localhost:8443/world
# {"httpVersion":"1.1","method":"GET","url":"/world","headers":{"host":"localhost:8443","user-agent":"curl/7.49.1","accept":"*/*"}}

About

Docker image handling HTTP and self-signed HTTPS requests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published