We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7116d0b commit 964d0b7Copy full SHA for 964d0b7
cdk/src/main/java/airhacks/cloudfront/boundary/CloudFrontFunctionURLStack.java
@@ -59,7 +59,7 @@ public CloudFrontFunctionURLStack(CloudFrontFunctionURLBuilder builder) {
59
.viewerProtocolPolicy(ViewerProtocolPolicy.HTTPS_ONLY)
60
.allowedMethods(AllowedMethods.ALLOW_ALL)
61
.cachePolicy(CachePolicy.CACHING_DISABLED)
62
- .originRequestPolicy(OriginRequestPolicy.ALL_VIEWER)
+ .originRequestPolicy(OriginRequestPolicy.ALL_VIEWER_EXCEPT_HOST_HEADER)
63
.build())
64
/**
65
* minimum policy only works with custom certificate
0 commit comments