Rya*_*yan 0 nginx cdn amazon-cloudfront
有些人创建了一个 CloudFront CDN 来代理我的网站,这样人们就可以使用 url 来访问我的网站,df03039lsls933.cloudfront.net而不是www.example.com
如何使用 nginx 阻止它?
从 CloudFront 文档,它说..
Host: CloudFront sets the value to the domain name of the origin that is
associated with the requested object.
Run Code Online (Sandbox Code Playgroud)
所以我不能通过使用host标题来阻止,另一种方法是什么?
(CloudFront 只是一个例子,我想用类似的方法阻止所有 CDN)
| 归档时间: |
|
| 查看次数: |
2638 次 |
| 最近记录: |