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

17 lines
502 B
Plaintext
Raw Normal View History

2024-12-05 10:06:12 -05:00
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;
2024-12-05 13:05:00 -05:00
ssl_verify_client optional_no_ca;
2024-12-05 10:06:12 -05:00
location / {
2024-12-05 10:35:04 -05:00
proxy_pass https://offsite-ejbca.mracs.dev;
2024-12-05 13:05:00 -05:00
proxy_set_header X-Client-Cert $ssl_client_cert;
2024-12-22 20:51:30 -05:00
proxy_set_header SSL_CLIENT_CERT $ssl_client_cert;
2024-12-05 13:05:00 -05:00
proxy_set_header X-Client-Verify $ssl_client_verify;
2024-12-05 10:06:12 -05:00
}
}