1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/aurweb/templates/goaurrpc.conf.j2
Leonidas Spyropoulos ba9786a35e
aurweb: goaurrpc disable admin api with 1.2.0 release
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2022-11-02 23:26:24 +00:00

24 lines
524 B
Django/Jinja

{
"Port": 10666,
"AurFileLocation": "{{ aurweb_dir }}/web/html/packages-meta-ext-v1.json.gz",
"MaxResults": 5000,
"RefreshInterval": 30,
"RateLimit": 4000,
"LoadFromFile": true,
"RateLimitCleanupInterval": 600,
"RateLimitTimeWindow": 86400,
"TrustedReverseProxies": [
"127.0.0.1",
"::1"
],
"EnableSSL": false,
"CertFile": "",
"KeyFile": "",
"EnableSearchCache": true,
"CacheCleanupInterval": 60,
"CacheExpirationTime": 180,
"EnableMetrics": true,
"EnableAdminApi": false,
"AdminAPIKey": "change-me"
}