mirror of
https://codeberg.org/Codeberg/pages-server
synced 2024-09-19 23:28:30 +01:00
Fix warning in server/startup.go
This commit is contained in:
parent
dbd61e28a8
commit
cd6eb82cf1
@ -81,10 +81,7 @@ func Serve(ctx *cli.Context) error {
|
||||
|
||||
var listener net.Listener
|
||||
if cfg.Server.HttpOnlyMode {
|
||||
log.Info().Msgf(`Starting pages-server in HTTP-only mode. Some
|
||||
features like encrypted connections and custom
|
||||
domains are not available in this mode. It is advisable
|
||||
to run behind a reverse-proxy.`)
|
||||
log.Warn().Msgf("Starting pages-server in HTTP-only mode. Some features like encrypted connections and custom domains are not available in this mode. It is advisable to run behind a reverse-proxy.")
|
||||
log.Info().Msgf("Create TCP listener on %s", listeningHTTPAddress)
|
||||
listener_, err := net.Listen("tcp", listeningHTTPAddress)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user