mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
Basic configuration
This patch introduces a basic on disk configuration, comprised of a main configuration file and per-domain directories. It's still not complete, but will be extended in subsequent patches.
This commit is contained in:
@@ -356,7 +356,9 @@ func realMain(m *testing.M) int {
|
||||
return 1
|
||||
}
|
||||
|
||||
s := NewServer("localhost")
|
||||
s := NewServer()
|
||||
s.Hostname = "localhost"
|
||||
s.MaxDataSize = 50 * 1024 * 1025
|
||||
s.AddCerts(tmpDir+"/cert.pem", tmpDir+"/key.pem")
|
||||
s.AddAddr(srvAddr)
|
||||
go s.ListenAndServe()
|
||||
|
||||
Reference in New Issue
Block a user