mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 08:20:55 +00:00
调整默认配置中的 ClientAuth 值,使之与原来的行为保持一致
This commit is contained in:
parent
0815e77f9a
commit
5203804165
@ -236,7 +236,7 @@ func newBConfig() *Config {
|
|||||||
AdminPort: 8088,
|
AdminPort: 8088,
|
||||||
EnableFcgi: false,
|
EnableFcgi: false,
|
||||||
EnableStdIo: false,
|
EnableStdIo: false,
|
||||||
ClientAuth: tls.VerifyClientCertIfGiven,
|
ClientAuth: tls.RequireAndVerifyClientCert,
|
||||||
},
|
},
|
||||||
WebConfig: WebConfig{
|
WebConfig: WebConfig{
|
||||||
AutoRender: true,
|
AutoRender: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user