Skip to content
Snippets Groups Projects
Commit 38c08f03 authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

nytt forsøk på redirect

parent a2cd5951
No related branches found
No related tags found
No related merge requests found
......@@ -128,21 +128,16 @@ Resources:
Aliases:
- !Ref DomainName
- !Ref AltDomainName
CustomErrorResponses:
- ErrorCachingMinTTL: 300
ErrorCode: 403
ResponseCode: 200
ResponsePagePath: /index.html
- ErrorCachingMinTTL: 300
ErrorCode: 404
ResponseCode: 200
ResponsePagePath: /index.html
DefaultCacheBehavior:
AllowedMethods:
- GET
- HEAD
Compress: true
TargetOriginId: s3ProductionBucket
LambdaFunctionAssociations:
- EventType: viewer-request
IncludeBody: false
LambdaFunctionARN: "arn:aws:lambda:us-east-1:156160966877:function:path_rewrite:8"
ForwardedValues:
QueryString: 'false'
Cookies:
......@@ -165,7 +160,7 @@ Resources:
LambdaFunctionAssociations:
- EventType: viewer-request
IncludeBody: false
LambdaFunctionARN: "arn:aws:lambda:us-east-1:156160966877:function:path_rewrite:2"
LambdaFunctionARN: "arn:aws:lambda:us-east-1:156160966877:function:path_rewrite:8"
ForwardedValues:
QueryString: true
Cookies:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment