How do you add CloudFront in front of API Gateway
Until API Gateway (APIG) supports edge caching via its internal use of CloudFront (CF), I have come up with a workaround. You can indeed put CF dist in front of APIG, the trick is to force HTTPS only “Viewer Protocol Policy” AND to NOT forward the HOST header because APIG needs SNI. I setup my … Read more