Skip to main content
Version: 0.9.1

Admin Bind

Snakeway provides a built-in Admin API for observability and operational insight. These endpoints are available on the bind_admin address under the /admin/ path.

bind_admin = {
# The network interface for the admin API.
interface = "127.0.0.1"

# The port for the admin API.
port = 8440

# Optional: TLS configuration for the admin listener.
tls = {
mode = "manual"
cert = "/path/to/certs/server.pem"
key = "/path/to/certs/server.key"
}
}

Fields

FieldTypeDefaultDescription
interfacestring(required)The network interface to bind the admin API to.
portinteger(required)The port to bind the admin API to.
tls.modestring(optional)TLS mode. Use "manual" to provide your own certificate and key.
tls.certstring(optional)Path to the TLS certificate file.
tls.keystring(optional)Path to the TLS private key file.
danger

The Admin API provides significant control over your proxy. Ensure that access is restricted using:

  • network-level firewalls
  • or, by binding only to trusted interfaces.

Future versions of Snakeway may include built-in authentication for the Admin API.