Easily inspect incoming HTTP and HTTPS requests.
npm install
npm start
docker run -dp 8888:8080 --name=httpdumper pastin/httpdumper
Trust proxies for example:
Standalone
export TRUST_PROXIES="loopback, 172.17.0.1"
Docker
docker run -dp 8888:8080 -e TRUST_PROXIES="loopback" --name=httpdumper pastin/httpdumper
Nginx configuration:
server
server_name http.pastebin.fi;
location / {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:8080;
}
}