mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-05-15 13:57:50 +00:00
...
This commit is contained in:
parent
9c7e513623
commit
7fc84a085e
5 changed files with 1342994 additions and 0 deletions
25
cd6eb82cf1f4ca4461bab6b031bc182362e28989.patch
Normal file
25
cd6eb82cf1f4ca4461bab6b031bc182362e28989.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
From cd6eb82cf1f4ca4461bab6b031bc182362e28989 Mon Sep 17 00:00:00 2001
|
||||
From: Ivan Davydov <lotigara@lotigara.ru>
|
||||
Date: Fri, 16 Aug 2024 16:31:59 +0300
|
||||
Subject: [PATCH] Fix warning in server/startup.go
|
||||
|
||||
---
|
||||
server/startup.go | 5 +----
|
||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||
|
||||
diff --git a/server/startup.go b/server/startup.go
|
||||
index e32e749..343e00c 100644
|
||||
--- a/server/startup.go
|
||||
+++ b/server/startup.go
|
||||
@@ -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…
Add table
Add a link
Reference in a new issue