1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 01:00:54 +00:00

调整默认配置中的 ClientAuth 值,使之与原来的行为保持一致

This commit is contained in:
Mr. Myy 2020-07-30 14:46:17 +08:00 committed by GitHub
parent 0815e77f9a
commit 5203804165
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,7 +236,7 @@ func newBConfig() *Config {
AdminPort: 8088,
EnableFcgi: false,
EnableStdIo: false,
ClientAuth: tls.VerifyClientCertIfGiven,
ClientAuth: tls.RequireAndVerifyClientCert,
},
WebConfig: WebConfig{
AutoRender: true,