55 lines
No EOL
1.7 KiB
TOML
55 lines
No EOL
1.7 KiB
TOML
# =============================================================================
|
|
# PROXY CONFIGURATION
|
|
# =============================================================================
|
|
# This configuration controls the reverse proxy middleware that forwards
|
|
# requests to backend services based on hostname mappings.
|
|
# =============================================================================
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# CORE SETTINGS
|
|
# -----------------------------------------------------------------------------
|
|
[Core]
|
|
# Enable or disable the proxy middleware
|
|
Enabled = true
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# TIMEOUT SETTINGS
|
|
# -----------------------------------------------------------------------------
|
|
[Timeouts]
|
|
# WebSocket connection timeout in milliseconds
|
|
WebSocketTimeoutMs = 5000
|
|
|
|
# Upstream HTTP request timeout in milliseconds
|
|
UpstreamTimeoutMs = 30000
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# PROXY MAPPINGS
|
|
# -----------------------------------------------------------------------------
|
|
# Map hostnames to backend service URLs
|
|
# Format: "hostname" = "backend_url"
|
|
# -----------------------------------------------------------------------------
|
|
|
|
[[Mapping]]
|
|
# Immich
|
|
Host = "gallery.caileb.com"
|
|
Target = "http://192.168.0.2:2283"
|
|
|
|
[[Mapping]]
|
|
# Navidrome
|
|
Host = "music.caileb.com"
|
|
Target = "http://192.168.0.2:4533"
|
|
|
|
[[Mapping]]
|
|
# ForgeJo
|
|
Host = "git.caileb.com"
|
|
Target = "http://192.168.0.2:3053"
|
|
|
|
# [[Mapping]]
|
|
# Example: API service
|
|
# Host = "api.example.com"
|
|
# Target = "http://localhost:3001"
|
|
|
|
# [[Mapping]]
|
|
# Example: Admin panel
|
|
# Host = "admin.example.com"
|
|
# Target = "http://localhost:3002" |