mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
Look for implicit documize.conf
@harveykandola Now looks for implicit documize.conf, then specified .conf, then fallback to flags and envars.
This commit is contained in:
parent
1fefdaec9f
commit
34d1639899
5 changed files with 1173 additions and 1153 deletions
1
core/env/flags.go
vendored
1
core/env/flags.go
vendored
|
@ -23,6 +23,7 @@ type Flags struct {
|
|||
SSLKeyFile string // (optional) name of SSL key PEM file
|
||||
SiteMode string // (optional) if 1 then serve offline web page
|
||||
Location string // reserved
|
||||
ConfigSource string // tells us if configuration info was obtained from command line or config file
|
||||
}
|
||||
|
||||
// SSLEnabled returns true if both cert and key were provided at runtime.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue