Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tiproxy/tiproxy-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,10 @@ The output is as follows:
```bash
curl http://127.0.0.1:3080/metrics/
```

## Access control

TiProxy API access can be restricted by enabling TLS via [`server-tls`](/tiproxy/tiproxy-configuration.md#server-tls). The common name in the client certificate is used to check access.

If TLS is not used access can be controlled with firewall rules.