Media Store Example
This example shows how to deploy a media-specific static hosting site with custom error handling.
Configuration
- Type: Static website deployment
- Template: Uses
static-sitetemplate from parent stack - Bundle Directory:
${git:root}/bundle- Media assets directory - Domain:
media.example.com(media-specific subdomain) - Custom Error Document:
error.htmlinstead ofindex.html - Production Only: Single environment deployment
Key Features
- Media-specific static hosting
- Custom error document for better UX
- Production-only deployment
- Media-optimized domain naming
Usage
- Prepare your media assets in the
bundle/directory - Deploy directly to production
- The media store will be available at
media.example.com
Parent Stack Requirements
This example requires a parent stack that provides:
static-sitetemplate- Static website deployment capabilities
- Domain management for media subdomain