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;
|
|
|
|
proxy_set_header X-Client-Verify $ssl_client_verify;
|
2024-12-05 10:06:12 -05:00
|
|
|
}
|
|
|
|
}
|