-
-
Notifications
You must be signed in to change notification settings - Fork 3
Cloudflare Settings
Peter Downey edited this page Apr 28, 2025
·
1 revision
- Select your domain
First, we need to add a new CNAME record for admin.YOURDOMAIN. This will allow you to access the admin subdomain on your site. If you prefer, the admin control panel may also be accessed via IP address instead.
- Click Add record button
- Type: CNAME | Name: admin | Target: your domain
- Always Use HTTPS: Off - (Important: This can cause redirect loops)
- HSTS: On - (Optional)
- Minimum TLS Version: TLS 1.2
- Opportunistic Encryption: On
- TLS 1.3: On
- Automatic HTTPS Rewrites: On
- Certificate Transparency Monitoring: Optional
- Authenticated Origin Pulls: On
Go through each optimization tab and select the following:
- Speed Brain: On
- Cloudflare Fonts On
- Early Hints: On
- Rocket Loader: Optional - When enabled, this will disable Cloudflare's compression from origin functionality. Rocket loader can also cause issues with some plugins.
- HTTP/2: On
- HTTP/2 to Origin: On
- HTTP/3 (with QUIC): On - (Note: Cloudflare does not currently support HTTP/3 to Origin)
- Enhanced HTTP/2 Prioritization On - (Only available if you have Cloudflare Pro)
- 0-RTT Connection Resumption: On
- AMP Real URL: Optional
- Caching Level: Standard
- Browser Cache TTL: Respect Existing Headers
- Crawler Hints: On
- Always Online: On
- Tiered Cache Topology: Smart Tiered Caching Topology
- IPv6 Compatibility: On
- WebSockets: On
- Pseudo IPv4: Add Header
- IP Geolocation: On
- Network Error Logging: On
- Onion Routing: On
For Cloudflare to support compression from origin, the following features must be disabled:
- Email Obfuscation
- Rocket Loader
- Server Side Excludes (SSE)
- Mirage
- HTML Minification (JavaScript and CSS can remain enabled)
- Automatic HTTPS Rewrites
For more information, see This is Brotli from Origin.