From 4ce3d46c35328af4f55630b2f12d921f4d71b952 Mon Sep 17 00:00:00 2001 From: Matthew Date: Thu, 5 Dec 2024 13:05:00 -0500 Subject: [PATCH] proxy stuff --- Nginx/Server Blocks/cert.libraryofcode.org.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Nginx/Server Blocks/cert.libraryofcode.org.conf b/Nginx/Server Blocks/cert.libraryofcode.org.conf index 1f599df..eb2adf5 100644 --- a/Nginx/Server Blocks/cert.libraryofcode.org.conf +++ b/Nginx/Server Blocks/cert.libraryofcode.org.conf @@ -5,8 +5,11 @@ server { ssl_certificate /etc/nginx/ssl/org.chain.crt; ssl_certificate_key /etc/nginx/ssl/org.key.pem; + ssl_verify_client optional_no_ca; location / { proxy_pass https://offsite-ejbca.mracs.dev; + proxy_set_header X-Client-Cert $ssl_client_cert; + proxy_set_header X-Client-Verify $ssl_client_verify; } }