fbi-proxy-1.6.0 is not a library.
fbi-proxy
FBI-Proxy provides easy HTTPS access to your local services with intelligent domain routing.
Routing Examples
# Port forwarding
# Host--Port forwarding
# Subdomain routing (with Host header)
)
)
# Direct host forwarding
WebSocket connections are supported for all patterns.
Usage
# launch
# expose to LAN
# with caddy, forwarding *.fbi.com
# run with docker, forwarding *.your-domain.com to host.
Development
# Install dependencies
# Start development
# Or production
&&
Prerequisites
- Bun: https://bun.sh/
- Rust: https://rustup.rs/
- Caddy: Auto-downloaded if not found
Configuration
Environment Variables
FBI-Proxy supports the following environment variables for configuration:
| Variable | Description | Default |
|---|---|---|
FBI_PROXY_PORT |
Port for the proxy server to listen on | 2432 |
FBI_PROXY_HOST |
Host/IP address to bind to | 127.0.0.1 |
RUST_LOG |
Log level for the Rust proxy (error, warn, info, debug, trace) | info |
FBIPROXY_PORT |
Internal proxy port (auto-assigned) | Auto |
Command-line arguments take precedence over environment variables.
CLI Options
- Default domain:
fbi.com(change with--fbihost) - Host binding:
--hostorFBI_PROXY_HOSTenv var - Port binding:
--portorFBI_PROXY_PORTenv var
License
MIT License - see LICENSE file for details