mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
auth: allow for world-readable deployment mode
This commit is contained in:
+6
-5
@@ -24,11 +24,12 @@ type AuthConfig struct {
|
||||
}
|
||||
|
||||
type HTTPConfig struct {
|
||||
Address string
|
||||
Port string
|
||||
TLS TLSConfig `mapstructure:",omitempty"`
|
||||
Auth AuthConfig `mapstructure:",omitempty"`
|
||||
Realm string
|
||||
Address string
|
||||
Port string
|
||||
TLS TLSConfig `mapstructure:",omitempty"`
|
||||
Auth AuthConfig `mapstructure:",omitempty"`
|
||||
Realm string
|
||||
AllowReadAccess bool `mapstructure:",omitempty"`
|
||||
}
|
||||
|
||||
type LogConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user