add local service proxy with .numa domains
HTTP reverse proxy on port 80 lets developers use clean domain names (frontend.numa, api.numa) instead of localhost:PORT. Includes WebSocket upgrade support for HMR, TCP health checks, dashboard UI panel, and REST API for service management. numa.numa is preconfigured for the dashboard itself. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
14
numa.toml
14
numa.toml
@@ -13,6 +13,20 @@ max_entries = 10000
|
||||
min_ttl = 60
|
||||
max_ttl = 86400
|
||||
|
||||
[proxy]
|
||||
enabled = true
|
||||
port = 80
|
||||
tld = "numa"
|
||||
|
||||
# Pre-configured services (numa.numa is always added automatically)
|
||||
# [[services]]
|
||||
# name = "frontend"
|
||||
# target_port = 5173
|
||||
#
|
||||
# [[services]]
|
||||
# name = "api"
|
||||
# target_port = 8000
|
||||
|
||||
# Example zone records:
|
||||
# [[zones]]
|
||||
# domain = "dimescu.ro"
|
||||
|
||||
Reference in New Issue
Block a user