mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-31 01:11:23 -05:00
add insecure option to ocis init
This commit is contained in:
@@ -28,7 +28,12 @@ type InsecureService struct {
|
||||
}
|
||||
|
||||
type InsecureProxyService struct {
|
||||
InsecureBackends bool `yaml:"insecure_backends"`
|
||||
OIDC InsecureProxyOIDC `yaml:"oidc"`
|
||||
InsecureBackends bool `yaml:"insecure_backends"`
|
||||
}
|
||||
|
||||
type InsecureProxyOIDC struct {
|
||||
Insecure bool `yaml:"insecure"`
|
||||
}
|
||||
|
||||
type LdapSettings struct {
|
||||
@@ -282,6 +287,9 @@ func CreateConfig(insecure, forceOverwrite bool, configPath, adminPassword strin
|
||||
}
|
||||
cfg.Proxy = InsecureProxyService{
|
||||
InsecureBackends: true,
|
||||
OIDC: InsecureProxyOIDC{
|
||||
Insecure: true,
|
||||
},
|
||||
}
|
||||
|
||||
cfg.Thumbnails.Thumbnail.WebdavAllowInsecure = true
|
||||
|
||||
Reference in New Issue
Block a user