Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 719 Bytes

README.md

File metadata and controls

48 lines (33 loc) · 719 Bytes

HTTPDumper

Easily inspect incoming HTTP and HTTPS requests.

Installation

npm install
npm start

Configuring

Docker

docker run -dp 8888:8080 --name=httpdumper pastin/httpdumper

Behind reverse proxy

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;
        }

}