Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
To ensure certificate revocations get active in a short time frame, disable
caching of proxy results on client side by setting respective HTTP headers.
5 changes: 5 additions & 0 deletions charts/smallstep-accomp/templates/server-block-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ data:
proxy_set_header Host $backend;
proxy_hide_header Content-Type;
add_header Content-Type application/pkix-crl;
# Prevent caching on client side
add_header Cache-Control 'no-cache, no-store, must-revalidate';
add_header Pragma 'no-cache';
add_header Expires '0';

proxy_pass "https://$backend/crl";
}

Expand Down