Andrew Rynhard e18b5086a9
chore: update org to new name (#480)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-03 18:29:21 -07:00

29 lines
617 B
Go

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package main
import (
"log"
"github.com/talos-systems/talos/internal/app/proxyd/internal/frontend"
)
func main() {
r, err := frontend.NewReverseProxy()
if err != nil {
log.Fatalf("failed to initialize the reverse proxy: %v", err)
}
// nolint: errcheck
go r.Watch()
// nolint: errcheck
r.Listen(":443")
}
func init() {
log.SetFlags(log.Lshortfile | log.Ldate | log.Lmicroseconds | log.Ltime)
}