阿卡迈边缘景观?

发布于 2024-09-28 19:19:14 字数 108 浏览 1 评论 0原文

我想知道是否有人有关于如何实施 Akamai 的 Edgescape 解决方案来获取邮政编码的链接?我尝试在网络上搜索 Akamai 的某种文档,但在网上找不到任何文档,我想在联系他们之前先在这里询问。

I was wondering if anyone has any links to on how to implement Akamai's Edgescape solution to get the zip code? I tried scouring the web for some sort of documentation from Akamai, but couldn't find any docs online, thought I would ask here first before contacting them.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

舂唻埖巳落 2024-10-05 19:19:14

如果您有 Akamai 帐户并有权访问控制面板 (https://control.akamai.com/),您可以在以下文档中找到所需的信息:https://control.akamai.com/dl/customers/ESCAPE/EdgeScape_users_guide.pdf

If you have an Akamai account and have access to the control panel (https://control.akamai.com/), here is a document where you will find the information you need : https://control.akamai.com/dl/customers/ESCAPE/EdgeScape_users_guide.pdf

潦草背影 2024-10-05 19:19:14

这听起来像是一个苹果和橘子的问题。如果您使用 CDN,按照设计,通常定向到您的 Web 服务器的一定比例的请求将由 CDN 卸载。如果您愿意,在请求总数中,那些通过的请求可以配置为提供客户端的“真实 IP”。

截至 2012 年 4 月,这是通过在配置中添加可选的“边缘服务常规”功能,然后启用“真实客户端 IP 标头”来配置的。

作为一项奖励功能,如果您是 Rails 商店,我建议将标头名称更改为“Client-IP”。如果这样做,Rails 将自动使用此标头来确定用户的真实 IP。从 3.2.x 开始,此功能有效,如 ActionDispatch::RemoteIp

注意:Rails 将 HTTP_ 附加到标头:)

This sounds like an apples and oranges question. If you're using a CDN, by design, a percentage of requests that would normally be directed at your web server will be offloaded by the CDN. Of the total number of requests, those that make it through can be configured to provide the "True IP" of the client if you prefer.

As of 04/12 this is configured by adding the optional "Edge Services General" feature to your config, then enabling the "True Client IP Header".

As a bonus feature, if you're a Rails shop I'd suggest changing the name of the header to "Client-IP". If you do so, Rails will automatically use this header to determine the real ip for the user. This works as of 3.2.x, as documented here in ActionDispatch:: RemoteIp

Note: Rails appends the HTTP_ to the header :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文