调整默认配置中的 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
1 changed files with 1 additions and 1 deletions

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,