mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-06-20 07:32:40 +02:00
feat: add option to log every request with path and IP
This commit is contained in:
parent
2b2f280bc3
commit
023ea17492
5 changed files with 30 additions and 0 deletions
|
@ -14,6 +14,7 @@ type ServerConfig struct {
|
|||
HttpPort uint16 `default:"80"`
|
||||
HttpServerEnabled bool `default:"true"`
|
||||
UseProxyProtocol bool `default:"false"`
|
||||
LogEveryRequest bool `default:"false"`
|
||||
MainDomain string
|
||||
RawDomain string
|
||||
PagesBranches []string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue