@gradientedge/cdk-utils 8.78.0 → 8.79.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.
|
@@ -346,7 +346,7 @@ class SiteWithEcsBackend extends common_1.CommonConstruct {
|
|
|
346
346
|
this.siteLogBucket = this.s3Manager.createS3Bucket(`${this.id}-site-logs`, this, this.props.siteLogBucket);
|
|
347
347
|
}
|
|
348
348
|
createSiteOrigin() {
|
|
349
|
-
this.siteOrigin = new origins.HttpOrigin(this.
|
|
349
|
+
this.siteOrigin = new origins.HttpOrigin(this.siteInternalDomainName, {
|
|
350
350
|
httpPort: this.props.siteTask.listenerPort,
|
|
351
351
|
protocolPolicy: cloudfront.OriginProtocolPolicy.HTTPS_ONLY,
|
|
352
352
|
});
|
package/package.json
CHANGED
|
@@ -401,7 +401,7 @@ export class SiteWithEcsBackend extends CommonConstruct {
|
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
protected createSiteOrigin() {
|
|
404
|
-
this.siteOrigin = new origins.HttpOrigin(this.
|
|
404
|
+
this.siteOrigin = new origins.HttpOrigin(this.siteInternalDomainName, {
|
|
405
405
|
httpPort: this.props.siteTask.listenerPort,
|
|
406
406
|
protocolPolicy: cloudfront.OriginProtocolPolicy.HTTPS_ONLY,
|
|
407
407
|
})
|