feat(api): create api proxy/ratelimiting/metrics

This commit is contained in:
spiral 2022-11-18 02:54:37 +00:00
parent de0d27e514
commit b95f51fff4
No known key found for this signature in database
GPG key ID: 244A11E4B0BCF40E
11 changed files with 1157 additions and 0 deletions

View file

@ -0,0 +1,28 @@
app = "pluralkit"
kill_signal = "SIGTERM"
kill_timeout = 5
[metrics]
port = 9091
path = "/metrics"
[deploy]
strategy = "bluegreen"
[[services]]
internal_port = 8080
protocol = "tcp"
[services.concurrency]
hard_limit = 500
soft_limit = 400
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443