mirror of
https://github.com/gotify/server.git
synced 2024-01-28 15:20:56 +03:00
Listen on custom address (#140)
Co-Authored-By: eternal-flame-AD <ef@eternalflame.info>
This commit is contained in:
@@ -10,10 +10,12 @@ import (
|
||||
// Configuration is stuff that can be configured externally per env variables or config file (config.yml).
|
||||
type Configuration struct {
|
||||
Server struct {
|
||||
Port int `default:"80"`
|
||||
SSL struct {
|
||||
ListenAddr string `default:""`
|
||||
Port int `default:"80"`
|
||||
SSL struct {
|
||||
Enabled *bool `default:"false"`
|
||||
RedirectToHTTPS *bool `default:"true"`
|
||||
ListenAddr string `default:""`
|
||||
Port int `default:"443"`
|
||||
CertFile string `default:""`
|
||||
CertKey string `default:""`
|
||||
|
||||
Reference in New Issue
Block a user