Teahouse Hosting
Teahouse Hosting is a commercial hosting provider, providing global serving on your domain. They are very friendly to large files and high traffic.
- Website:
- Documentation:
- Address Prefix:
tea://- Redirects:
Yes
- Headers:
Yes
- Error Pages:
Yes
Authentication
At this time, Swiss Army Upload only supports a single Teahouse login–you can log in to tea:// but you can’t log in to tea://mysite.example.
Automations
Teahouse Hosting supports OIDC tokens from public and first-party CI/CD pipelines–if you’re publishing automatically from a git repo, you probably don’t need to configure secrets. See TODO for more information.
If SAU is run within a supported service, it’ll automatically retrieve and use a token to authenticate with Teahouse. These services are supported:
GitHub Actions
GitLab CI/CD (TODO)
Forgejo Actions
Circle CI (TODO)
Redirects
Note
Redirects have not yet been implemented in Swiss Army Upload.
Teahouse supports arbitrary redirects with full HTTP options. You can freely redirect /mypage to /over/here.html or to https://other.mysite.example/.
However, it does not support wildcards or rewrites; you cannot redirect /dir/* to /there or to /other/*. You have to know the exact path you’re redirecting.
Headers
Note
Custom headers have not yet been implemented in Swiss Army Upload.
Teahouse supports arbitrary headers with few restrictions.
However, like redirects, wildcards are not supported on the server. If you use a _headers file, Swiss Army Upload will resolve wildcards to specific paths at upload time.
Error Pages
Teahouse supports a custom 404 (Not Found) page. See Error pages in the Teahouse docs for more information.