configurations/Nginx/Server Blocks/cert.libraryofcode.org.conf

16 lines
443 B
Plaintext

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name cert.libraryofcode.org;
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;
}
}