Skip to main content
use-apify.com

Reverse proxy: guides & tutorials

Reverse proxies for TLS termination, caching, and routing scraper traffic—Nginx and Traefik patterns, headers, and isolating bots from origin servers.

2 articles

View all tags

Reverse proxies handle TLS termination, caching, and routing in front of services, including scraper infrastructure. These guides cover Nginx and Traefik patterns, headers, and isolating bots from origin servers.

A well-configured reverse proxy adds security and flexibility without touching application code. Below you will find configuration patterns for reverse proxies in scraping and self-hosted setups.

Related topics

Docker7 min read

Traefik v3 Reverse Proxy: Complete Self-Hosting Setup Guide (2026)

· 7 min read
Yassine El Haddad
Software Developer & Automation Specialist

Traefik is a reverse proxy that discovers services from Docker labels and config files, issues Let's Encrypt certificates automatically, and handles HTTP/3. Version 3 refines middleware syntax and improves performance. This guide covers installation, your first service, middleware for auth and rate limiting, and dashboard security on a Liquid Web VPS.

Frequently asked questions

Frequently Asked Questions

A reverse proxy sits in front of servers and routes requests on behalf of clients—the opposite of a forward proxy. In scraping, self-hosted reverse proxies like Nginx or Caddy route outgoing scraper traffic through designated IPs for monitoring and access control. Cloudflare as a reverse proxy on target sites makes those sites harder to scrape.

Reverse proxy WAFs like Cloudflare, Akamai, and Imperva inspect TLS fingerprints, request patterns, and behavioral signals. Scrapers use residential proxies, browser fingerprint patching, and realistic request pacing to avoid triggering WAF rules. Some WAF bypasses require solving JS challenges through real browser rendering.

Yes: route scraper outbound traffic through a reverse proxy on a dedicated IP to decouple your scraper infrastructure from exit IPs. This lets you rotate exit proxies without changing actor code. It also provides a centralized place to apply rate limiting and logging across multiple scrapers running in parallel.

Configure upstream proxy groups, rate limiting with limit_req_zone, and access logging with detailed headers for debugging. SSL termination lets you inspect encrypted traffic in development. For rotating exit IPs, upstream blocks with multiple proxy addresses let Nginx round-robin or failover between proxy endpoints automatically.