forked from romapres2010/httpserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhttpserver.cfg
More file actions
50 lines (44 loc) · 925 Bytes
/
Copy pathhttpserver.cfg
File metadata and controls
50 lines (44 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[HTTP_SERVER]
ReadTimeout = 6000
WriteTimeout = 6000
IdleTimeout = 6000
MaxHeaderBytes = 262144
MaxBodyBytes = 1048576
UseProfile = false
ShutdownTimeout = 30
[HTTP_POOL]
UseBufPool = true
BufPooledSize = 512
BufPooledMaxSize = 32768
[TLS]
UseTLS = false
UseHSTS = false
TLSCertFile = certs/server.pem
TLSKeyFile = certs/server.key
TLSMinVersion = VersionTLS10
TLSMaxVersion = VersionTLS12
[JWT]
UseJWT = false
JWTExpiresAt = 20000
[AUTHENTIFICATION]
AuthType = NONE
MSADServer = company.com
MSADPort = 389
MSADBaseDN = OU=company, DC=dc, DC=corp
MSADSecurity = SecurityNone
[LOG]
HTTPLog = false
HTTPLogType = INREQ | OUTREQ | INRESP | OUTRESP | BODY
HTTPLogFileName = ./httplog/http%s.log
HTTPErrLog = HEADER | BODY
[DB]
Host = "130.61.117.149"
Port = "5432"
Dbname = "test_database"
SslMode = "disable"
User = "test_user"
Pass = "qwerty"
ConnMaxLifetime = 1000
MaxOpenConns = 16
MaxIdleConns = 8
DriverName = "pgx"