[ SRE_ARENA ]
WEB SERVERS & REVERSE PROXIES

Proxies: The Ultimate Middleman

Visualization: 1. Forward vs Reverse Proxy
DOWNLOADING CONCEPT: 1. FORWARD VS REVERSE PROXY...
  • ↳A Forward Proxy sits in front of *clients*.
  • ↳If you are on a corporate network and can't access Facebook, the corporate forward proxy is blocking you.
  • ↳It protects the client from the internet, masks the client's IP, and caches outgoing requests.
  • ↳A Reverse Proxy sits in front of *servers*.
  • ↳When you visit a website, you hit its reverse proxy, which then routes your request to a hidden backend server.
  • ↳It protects the server from the internet, masks the server's IP, handles SSL termination, and distributes load.
▲ LIVE INCIDENTOur API servers are logging the IP address 10.0.0.5 for EVERY single user request. We can't ban malicious IPs because they all look identical!
sre@arena:~/web-servers-proxies
sre@arena:~$ cat /etc/nginx/conf.d/api.conf