Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
hweawer committed Jan 9, 2025
1 parent 4e9097d commit bf86006
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nginx/config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ var _nameToDefaultTemplate = map[string]string{
const DefaultClientVerification = `
ssl_verify_client optional;
set $required_verified_client 1;
if ($scheme = http) {
set $required_verified_client 0;
}
if ($request_method ~ ^(GET|HEAD)$) {
set $required_verified_client 0;
}
if ($remote_addr = "127.0.0.1") {
set $required_verified_client 0;
}
Expand Down

0 comments on commit bf86006

Please sign in to comment.