From c4351bbcf9b6931718234da21e321b97e1310c3a Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 22 Dec 2024 22:03:47 -0500 Subject: [PATCH] ejbca stuff --- Nginx/Server Blocks/offsite-ejbca.mracs.dev.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Nginx/Server Blocks/offsite-ejbca.mracs.dev.conf b/Nginx/Server Blocks/offsite-ejbca.mracs.dev.conf index c7daed2..a4f2c5d 100644 --- a/Nginx/Server Blocks/offsite-ejbca.mracs.dev.conf +++ b/Nginx/Server Blocks/offsite-ejbca.mracs.dev.conf @@ -11,4 +11,8 @@ server { proxy_set_header X-Client-Verify $http_x_client_verify; } + 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; + } }