Back to DocumentationReverse Proxy
CORS headers - Enable cross-origin requests
Custom Proxy Configurations
Advanced proxy setup including headers, rewrites, and rate limiting.
April 12, 20265 views
Custom Proxy Configurations
Custom Headers
Add custom request or response headers to your proxy configuration. Common uses:
X-Forwarded-For - Pass the client's real IP to your backendX-Real-IP - Alternative real IP headerPath-Based Routing
Route different paths to different backends:
/api/* → API server/static/* → CDN or file server/* → Frontend applicationRate Limiting
Protect your backend from abuse by configuring rate limits per IP. Set maximum requests per time window.
WebSocket Support
WebSocket connections are fully supported. The proxy handles the upgrade from HTTP to WebSocket protocol automatically.
Caching
Enable response caching for static assets to reduce backend load and improve response times.
proxyheadersroutingwebsocket