Skip to content

isayme/node-httpbin

Repository files navigation

httpbin: HTTP Request & Response Service in Node.js

Build Status Coverage Status

Nginx config

server {
    listen 443;
    server_name httpbin.isayme.org;

    location / {
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_pass http://httpbin:8080;
    }
}