Posts Tagged: reverse-proxy
-
How to Configure Flask Behind Nginx with X-Forwarded-For Headers for GDPR Logging
Configure Flask behind Nginx to preserve real client IP with X-Forwarded-For headers for GDPR logging. Covers Nginx proxy_set_header, Flask ProxyFix/werkzeug ProxyFix, Gunicorn --forwarded-allow-ips, Docker and Ubuntu setups.
-
Serving FastAPI Behind Traefik with Automatic HTTPS and Path-Based Routing
Deploy FastAPI behind Traefik using Docker Compose for automatic HTTPS via Let's Encrypt and path-based routing. Covers docker-compose labels, middleware for prefix stripping, and production considerations.