Cleanup pt 1 (#4)

* Disable startup headers.

* Add banning / unbanning of specific user.
This commit is contained in:
2023-10-19 14:36:16 +01:00
committed by GitHub
parent 2be4f17ea3
commit 92359c1114
9 changed files with 223 additions and 12 deletions
+6
View File
@@ -21,6 +21,8 @@ type config struct {
AccessLog bool
ReadOnlyMode bool
AllowURLs []string
EnableApi bool
ApiPort int
}
Client struct {
@@ -39,6 +41,10 @@ type config struct {
CacheClient *libpack_cache.Cache
}
Api struct {
BannedUsersFile string
}
Security struct {
BlockIntrospection bool
IntrospectionAllowed []string