1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Yes, there are few things to be done to avoid this from happening:
- Origin needs to be locked to the outside internet, except Cloudfront IPs. It appears that Google is able to reach the Origin directly.
- Validate if the *.cloudfront.net URLs are a part of the publishing code anywhere. If so, replace them with the Cloudfront - fronted domain names.
- Put a robots.txt on Amazon S3. Something like, the www.domain.com/robots.txt
I would not recommend putting Origin redirection etc. coz there is no reason for anyone to hit the Origin directly. It is also an open backdoor for the malicious actors to get through.
Once you do #01, #02, #03; the indexing of the Origin URLs will gradually go away. Also I believe, they can also reach out to Google (after doing 1, 2, 3) to remove those URLs from their search feeds.
답변함 3년 전
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 일 년 전