mirror of
https://github.com/gotify/server.git
synced 2024-01-28 15:20:56 +03:00
Make keepalive period configurable
This commit is contained in:
@@ -11,9 +11,11 @@ import (
|
||||
// Configuration is stuff that can be configured externally per env variables or config file (config.yml).
|
||||
type Configuration struct {
|
||||
Server struct {
|
||||
ListenAddr string `default:""`
|
||||
Port int `default:"80"`
|
||||
SSL struct {
|
||||
KeepAlivePeriodSeconds int
|
||||
ListenAddr string `default:""`
|
||||
Port int `default:"80"`
|
||||
|
||||
SSL struct {
|
||||
Enabled *bool `default:"false"`
|
||||
RedirectToHTTPS *bool `default:"true"`
|
||||
ListenAddr string `default:""`
|
||||
|
||||
Reference in New Issue
Block a user