Overview
CloudBase provides a unified HTTP Gateway, enabling developers to easily access various cloud resources within the environment through standard HTTP protocols. This eliminates the need for complex SDK integration while facilitating the invocation and management of backend cloud resources.
Since June 2026, HTTP Access Service in the CloudBase environment has been renamed to HTTP Gateway.
HTTP Gateway supports extensive custom configurations, including advanced capabilities such as resource access path (URL Path) customization and access service domain name (CNAME) configuration, comprehensively meeting personalized requirements across diverse development scenarios.
Core Features and Advantages
- High-Performance Access Experience: Based on optimized HTTP protocol implementation, it delivers low-latency, high-concurrency resource access capabilities
- Flexible Routing Configuration: Supports granular routing rule configuration for domain names and access paths, enabling intelligent distribution of requests
- Custom Domain Management: Supports custom binding/unbinding of domains, enabling access to environment services through personalized domains to enhance brand recognition
- Multi-Protocol Support: Fully supports HTTP/HTTPS protocol standards, compatible with various clients and browsers
Default Domain Name
CloudBase automatically generates multiple free default domains for each environment, covering Static Hosting, Cloud Storage, Cloud Run, and HTTP Gateway. You can access the corresponding cloud resources without any additional configuration.
However, based on security and compliance requirements, the default domain is intended for development and testing only and has the following limitations:
- Access frequency limits
- Some advanced features are unavailable
- Potential stability risks
After October 9, 2025, default domains for newly created environments (including Cloud Run, Static Web Hosting, and HTTP Gateway) will be subject to additional restrictions:
- The original "default domain validity renewal" mechanism has been officially discontinued. Manual renewal is no longer required frequently, but the Access Reminder Intermediate Page will remain as a soft security reminder in the long term.
For production environments, it is strongly recommended to bind a custom domain that has completed ICP filing to obtain full service capabilities and stability. If you need to directly access Static Web Hosting, Cloud Run, or HTTP Gateway via browsers (excluding API calls or resource access like images), custom domains must be used in production environments.
See Custom Domain Configuration for how to configure a custom domain.
Domain-Resource Association Capability
HTTP Gateway supports binding multiple cloud resources to a domain, including:
- Cloud Function (CloudFunction)
- Cloud Run (CloudRun)
- Static Website Hosting (Hosting)
- Cloud Storage (Cloud Storage)
- Custom Application (WeDa): Not supported in PG environments
Through resource association configuration, you can access different types of cloud resources via a unified HTTP method, simplifying application architecture design.
Advanced Configuration Options
HTTP Gateway provides comprehensive advanced configuration capabilities:
- CORS Settings: CORS settings take effect on this route. Add domains allowed to access this route in the CORS settings.
- Path Passthrough: Controls whether the triggering path is passed through to the backend. When disabled, the triggering path prefix is stripped; when enabled, the full path is passed through (see Path Passthrough).
- Authentication: Enable access control for sensitive resources to ensure data security.
- Custom Headers: Supports adding or removing HTTP headers in both request and response directions.
- Request Processing: Add request headers, remove request headers.
- Response Processing: Add response headers, remove response headers.
Through these advanced configurations, you can flexibly control resource access methods and security policies, building a professional cloud service architecture that meets business requirements.