Skip to content

Show a VPN-required page when WAF blocks preview access - #162

Merged
chrischrischris merged 1 commit into
mainfrom
cpeyer-adobe-waf-vpn-required-page
Oct 1, 2026
Merged

chrischrischris merged 1 commit into
mainfrom
cpeyer-adobe-waf-vpn-required-page

Conversation

@chrischrischris

Copy link
Copy Markdown
Collaborator

The preview site's WAF Block action returned CloudFront's generic 403. Return a custom response body (vpn-required.html) telling viewers to connect to Adobe VPN, with Cache-Control: no-store so the page doesn't linger once they connect. The script checks the 4 KB WAF limit before calling AWS.

The preview site's WAF Block action returned CloudFront's generic 403.
Return a custom response body (vpn-required.html) telling viewers to
connect to Adobe VPN, with Cache-Control: no-store so the page doesn't
linger once they connect. The script checks the 4 KB WAF limit before
calling AWS.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@aem-code-sync

aem-code-sync Bot commented Oct 1, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

@chrischrischris
chrischrischris merged commit 9a574c9 into main Oct 1, 2026
7 of 9 checks passed
@chrischrischris
chrischrischris deleted the cpeyer-adobe-waf-vpn-required-page branch October 1, 2026 16:53

This branch was successfully deployed

1 active deployment
cpeyer-adobe-waf-vpn-required-page — 73a15555 Deployed Oct 1, 2026 by aem-code-sync[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant