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
|
@ -124,8 +124,6 @@ func Start(rt *env.Runtime, s *store.Store, ready chan struct{}) {
|
|||
|
||||
rt.Log.Info("Web Server: starting SSL server on " + rt.Flags.HTTPPort + " with " + rt.Flags.SSLCertFile + " " + rt.Flags.SSLKeyFile)
|
||||
|
||||
// TODO: https://blog.gopheracademy.com/advent-2016/exposing-go-on-the-internet/
|
||||
|
||||
server := &http.Server{Addr: ":" + rt.Flags.HTTPPort, Handler: n /*, TLSConfig: myTLSConfig*/}
|
||||
server.SetKeepAlivesEnabled(true)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue