Skip to content

Simple code to return headers as response body, useful for debugging

Notifications You must be signed in to change notification settings

matheustp/header-printer-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

header-printer-go

Simple code to return headers as response body, useful for debugging

Steps to run this container on an EC2 instance

sudo chmod 400 your.pem
ssh -i /path/to/[your].pem ec2-user@[public-DNS]
sudo yum update -y
sudo yum install -y docker
sudo service docker start
sudo usermod -a -G docker ec2-user
docker info
docker run -d -p 80:80 matheustp/golang-header-printer
docker ps

About

Simple code to return headers as response body, useful for debugging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published