domain-mask
Installation
SKILL.md
domain-mask
Mask a URL behind a custom domain for demos and recordings. An HTTPS reverse
proxy makes the address bar show a clean domain (e.g. wknd.adventures) while
content is served from the real URL (e.g. https://main--mysite--org.aem.page).
Trusted certificate via mkcert, no browser warnings.
Requirements
- Node 22+, mkcert (
brew install mkcert && mkcert -install), sudo (port 443 and/etc/hosts) - The
webCLI (playwright-cliis not needed for this command). Locate it once:
# <skill-dir> is the directory containing this SKILL.md
WEB=$(command -v web || echo "node <skill-dir>/../../cli/dist/web.mjs")