diff --git a/Nginx/Server Blocks/cert.libraryofcode.org.conf b/Nginx/Server Blocks/cert.libraryofcode.org.conf index 9fac4b8..7c1a285 100644 --- a/Nginx/Server Blocks/cert.libraryofcode.org.conf +++ b/Nginx/Server Blocks/cert.libraryofcode.org.conf @@ -13,4 +13,9 @@ server { proxy_set_header X-Client-DN $ssl_client_s_dn; proxy_set_header X-Client-Serial $ssl_client_serial; } + + location /test-headers { + return 200 "X-SSL-CERT: $http_x_ssl_cert\nX-Client-Verify: $http_x_client_verify\nX-Client-DN: $http_x_client_dn\nX-Client-Serial: $http_x_client_serial\n"; + add_header Content-Type text/plain; + } }