@supacloud/admin 0.3.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/dist/index.js +6006 -14201
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -59,6 +59,9 @@ Gateway / Caddy commands (config is injected via the Caddy JSON Admin API; requi
59
59
  supacloud-admin gateway routes --ref abc123
60
60
  supacloud-admin gateway upsert_route --ref abc123 --route_id webhook \
61
61
  --hosts "api.example.com" --paths "/webhook/*" --upstream 10.0.0.5:8080
62
+ supacloud-admin gateway upsert_route --ref abc123 --route_id canonical-https \
63
+ --hosts "www.example.com" --paths "/*" --protocol http \
64
+ --redirect_to 'https://www.example.com{http.request.uri}' --redirect_status 308
62
65
  supacloud-admin gateway config --ref abc123 --rate_limit_tier pro
63
66
  supacloud-admin gateway rebuild --ref abc123 --clean
64
67
  ```