c# - CloudfrontGet cloudfront URL instead of Orgin URL -
i have domain using cloudfront in aws.
+ test1.cloudfront.com(distribution) google.com(origin)
on browser, type
"test1.cloudfront.com"
on controller,i declare
var url = httpcontext.current.request.url.host; //result: url = "google.com"; //origin url
how cloudfront url instead of origin url? pls me!
upon creation of amazon cloudfront distribution, unique domain name assigned:
use domain name access service via cloudfront.
Comments
Post a Comment