From 4e9097d3cc20bc784debc77b5e82f1bf7c4d636e Mon Sep 17 00:00:00 2001 From: hweawer Date: Wed, 8 Jan 2025 21:02:55 +0100 Subject: [PATCH] Format --- nginx/config/default.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nginx/config/default.go b/nginx/config/default.go index 9763564a..bef6a0df 100644 --- a/nginx/config/default.go +++ b/nginx/config/default.go @@ -31,12 +31,6 @@ 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; }