Skip to content

A request-response diagram between client and backend for different configurations of reverse proxies

License

Notifications You must be signed in to change notification settings

nubenum/reverse-proxy-cheatsheet-request-response

Repository files navigation

Reverse Proxy Cheatsheet as a Request-Response Sequence Diagram

Trying to understand what headers and bodies the requests and responses between client, reverse proxy and backend actually contain.

Getting Host, Port and Scheme right

View Large Version

Request-Response Host, Port, Scheme Sequence Diagram

Getting Subpaths right

View Large Version

Request-Response Subpath Sequence Diagram

Useful cURL Commands

Setting the Host header and being verbose:

curl -vH "Host: example.com" http://localhost/

To also test HTTPS (using SNI) – an alternative to a local /etc/hosts entry:

curl -v --resolve example.com:443:127.0.0.1 https://example.com

About

A request-response diagram between client and backend for different configurations of reverse proxies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published