diff options
Diffstat (limited to 'service/http/config.go')
-rw-r--r-- | service/http/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/service/http/config.go b/service/http/config.go index b4575914..5454f124 100644 --- a/service/http/config.go +++ b/service/http/config.go @@ -78,6 +78,10 @@ func (c *Config) EnableTLS() bool { return c.SSL.Key != "" || c.SSL.Cert != "" } +func (c *Config) EnableHTTP2() bool { + return c.HTTP2.Enabled +} + func (c *Config) EnableFCGI() bool { return c.FCGI.Address != "" } |