Returning A Custom Block Page
It is possible to return a customized block page instead of PX default one.
The block page returned by Fastly Enforcer is defined in the subroutine px_custom_create_block_page
in px_custom.vcl
file.
To set your own block page, set the req.http.X-PX-block-page
header to a string containing the html of the desired block page.
For example: