redirects

master
Matthew 2024-12-22 22:03:58 -05:00
parent 169eb68261
commit 3173307745
Signed by: matthew
SSH Key Fingerprint: SHA256:piIXekA9q1p0ZGi4ogFbNY1embip5Ytbi3v8AZ8UYq4
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}
}