Cloudflare Support 经认证的资源

Rewrite original visitors IPs and add support for flexible SSL when using Cloudflare.

When your website runs behind Cloudflare, some things can break quietly. Visitor IP addresses get replaced with Cloudflare's own, and HTTPS detection can fail when using flexible SSL, causing mixed content issues or incorrect protocol handling.

The Cloudflare Support extension fixes both. It restores the original visitor IP from Cloudflare's forwarded headers, and corrects how your Azuriom site detects whether a connection is secure.

Note that IP restoration can also be handled at the web server level: Apache, Nginx, and others have native modules or configuration options for this. If you have server access and are comfortable editing your web server config, that approach works just as well. This extension is the simpler alternative when you would rather not touch server configuration.

This extension is useful if you are:

  • Using Cloudflare as a proxy in front of your website
  • Seeing incorrect IP addresses in logs, bans, or user records
  • Running flexible SSL and encountering HTTPS-related issues
  • Getting redirect loops or insecure content warnings
  • Unable or unwilling to modify your web server configuration directly

If Cloudflare is part of your setup and you are not already handling this at the server level, this extension covers it for you.


下载

信息

  • 作者: Azuriom
  • 类别: 插件
  • 版本: 1.1.1
  • 下载量: 9,028
  • 发布: 2020/03/15 20:47
  • 更新: 2022/05/08 20:08
获取支持 GitHub