Install Semanto on Akamai
An EdgeWorker decides on each request whether your signed copy or your origin answers.
Steps
- Download the package below and unzip it.
- In your property, add a conditional origin named trooth_api that points at api.trooth.co, and the EdgeWorkers behavior on your hostname.
- Add the property variable PMUSER_TROOTH_ID with your Trooth ID.
- In the akamai-edgeworkers folder, run ./build.sh, then upload and activate the bundle with the Akamai command line.
- Press Check my site in the dashboard.
Download
Download the Akamai package (zip, 20 KB). It holds the files the steps name.
Check it works
From any terminal. The answer should be markdown with Signature and Trooth-Semanto-Version headers.
curl -s -H "Accept: text/markdown" https://example.com/ | headIf Trooth is slow or down, your site keeps answering: what the adapter does.