Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3585: Pipe Adgangsplatformen callbacks through Varnish #1661

Merged
merged 1 commit into from Jul 7, 2020
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions ding2.vcl
Expand Up @@ -26,8 +26,8 @@ sub vcl_recv {
return (pass);
}

# Ensure that ding_wayf and SimpleSAMLphp is not cached.
if (req.url ~ "^/simplesaml" || req.url ~ "^/wayf" || req.url ~ "^/gatewayf") {
# Ensure that ding_wayf, SimpleSAMLphp and Adgangsplatformen is not cached.
if (req.url ~ "^/simplesaml" || req.url ~ "^/wayf" || req.url ~ "^/gatewayf" || req.url ~ "^/adgangsplatformen") {
return (pipe);
}

Expand Down
2 changes: 1 addition & 1 deletion ding2_v4.vcl
Expand Up @@ -31,7 +31,7 @@ sub vcl_recv {
}

# Ensure that ding_wayf and SimpleSAMLphp is not cached.
if (req.url ~ "^/wayf" || req.url ~ "^/ding-redia-rss" || req.url ~ "^/survey" || req.url ~ "^/gatewayf" || req.url ~ "^/feeds/eventdb") {
if (req.url ~ "^/wayf" || req.url ~ "^/adgangsplatformen" || req.url ~ "^/ding-redia-rss" || req.url ~ "^/survey" || req.url ~ "^/gatewayf" || req.url ~ "^/feeds/eventdb") {
return (pipe);
}

Expand Down