cloudflare.pdf
Document Details
Uploaded by LeanOphicleide897
Tags
Related
- PCSII Depression/Anxiety/Strong Emotions 2024 Document
- A Concise History of the World: A New World of Connections (1500-1800)
- Human Bio Test PDF
- Vertebrate Pest Management PDF
- Lg 5 International Environmental Laws, Treaties, Protocols, and Conventions
- Educación para la Salud: la Importancia del Concepto PDF
Full Transcript
CLOUDFLARE Cloudare acts as an intermediary/proxy between a client and a server. Cloudare caches static content or your site, subsequently lowering the number o requests to our servers while allowing visitors to access your site. Cloudare is a global network designed to make everything you co...
CLOUDFLARE Cloudare acts as an intermediary/proxy between a client and a server. Cloudare caches static content or your site, subsequently lowering the number o requests to our servers while allowing visitors to access your site. Cloudare is a global network designed to make everything you connect to the Internet secure, private, ast, and reliable. Because o how Cloudare works, all trac to your origin server will appear to be coming rom Cloudare IP addresses. Advantages o Cloudare Site Perormance Improvement : Cloudare has proxy servers located throughout the world. Proxy servers are located closer to your visitors, which means they will likely see page load speed improvements as the cached content is delivered rom the closest caching box instead o directly o our server. Alerting Visitors o Inected Computers : Cloudare alerts human visitors that have an inected computer that they need to take action to clean up the malware or virus on their machine. The visitor can enter a CAPTCHA to gain access to your site. Advantages o Cloudare ( Contd.. ) Spam Comments Protection : Cloudare leverages data rom third-party resources to reduce the number o spam comments on your site. Oine Browsing Mode : In the event that the server is unavailable, visitors should still be able to access your site since Cloudare serves the visitor a page rom its cache. New Site Stats : You have good tools to evaluate human trac coming to your site. Add site to Cloudare Step 1 — Add site in Cloudare 1. Log in to the Cloudare dashboard 2. In the top navigation bar, click Add site. 3. Enter your website’s root domain (example.com) and then click Add Site. 4. Update all necessary DNS records to enable Cloudare or your domain. 5. Check nameservers. 6. When you have nished the Quick Start Guide, click Finish. Add site to Cloudare ( Contd.. ) Step 2 — Update nameservers Beore your domain can begin using Cloudare or DNS resolution, you need to update your nameservers at your registrar. Once you have added a domain (also known as a zone) to Cloudare, that domain will receive two assigned authoritative nameservers. Login to the domain registrar account and replace with Cloudare’s nameservers. Wait 24 hours while your registrar updates your nameservers. You will receive an email when your site is active on Cloudare. Log in to the Cloudare dashboard and make sure Purge cache You can purge cached resources by single- le , all cached content, or other options. 1. Purge by single-le (by URL) 2. Purge everything Purge by single-le (by URL) 1. Log in to your Cloudare dashboard and select your account and domain. 2. Select Caching > Conguration. 3. Under Purge Cache, select Custom Purge. The Custom Purge window appears. 4. Under Purge by, select URL. 5. Enter the appropriate value(s) in the text eld using the ormat shown in the example. 6. Perorm any additional instructions to complete the orm. 7. Review your entries. 8. Select Purge. Purge everything 1. Log in to your Cloudare dashboard and select your account and domain. 2. Select Caching > Conguration. 3. Under Purge Cache, select Purge Everything. A warning window appears. 4. I you agree, select Purge Everything. SSL/TLS Encryption modes The encryption modes listed below control the scheme (http:// or https://) that Cloudare uses to connect to your origin web server and how SSL certicates presented by your origin will be validated. Available encryption modes 1. O (no encryption) 2. Flexible 3. Full 4. Full (strict) 5. Strict (SSL-Only Origin Pull) Of - SSL/TLS encryption modes Setting your encryption mode to O (not recommended) redirects any HTTPS request to plaintext HTTP. Limitations : 1. Leaves your visitors and your application vulnerable to attacks 2. Will be marked as “not secure” by Chrome and other browsers, reducing visitor trust. 3. Will be penalized in SEO rankings. Flexible - SSL/TLS encryption modes Setting your encryption mode to Flexible makes your site partially secure. Cloudare allows HTTPS connections between your visitor and Cloudare, but all connections between Cloudare and your origin are made through HTTP. Limitations : 1. Flexible mode is only supported or HTTPS connections on port 443 (deault port). Other ports using HTTPS will all back to Full mode. 2. I your application contains sensitive inormation (personalized data, user login), use Full or Full (Strict) modes instead. Full - SSL/TLS encryption modes When you set your encryption mode to Full, Cloudare allows HTTPS connections between your visitor and Cloudare and makes connections to the origin using the scheme requested by the visitor. I your visitor uses http, then Cloudare connects to the origin using plaintext HTTP and vice versa. Limitations : 1. The certicate presented by the origin will not be validated in any way. It can be expired, sel-signed, or not even have a matching CN/SAN entry or the hostname requested. 2. Without using Full (strict), a malicious party could technically hijack the connection and present their Full (strict) - SSL/TLS encryption modes When you set your encryption mode to Full (strict), Cloudare does everything in Full mode but also enorces more stringent requirements or origin certicates. Limitations : Depending on your origin conguration, you may have to adjust settings to avoid Mixed Content errors or redirect loops. Strict (SSL-Only Origin Pull) - SSL/TLS encryption modes Connections to the origin will always be made using SSL/TLS, regardless o the scheme requested by the visitor. The certicate presented by the origin will be validated the same as with Full (strict) mode. Limitations : Depending on your origin conguration, you may have to adjust settings to avoid Mixed Content errors or redirect loops. Troubleshooting Cloudare errors Error 502 bad gateway or error 504 gateway timeout Error 520: web server returns an unknown error Error 521: web server is down Error 524: a timeout occurred Error 525: SSL handshake ailed Error 502 bad gateway or error 504 gateway timeout Error 502 bad gateway or error 504 gateway timeout ( Contd.. ) Cloudare returns an Cloudare-branded HTTP 502 or 504 error when your origin web server responds with a standard HTTP 502 bad gateway or 504 gateway timeout error. Resolution Contact your hosting provider to troubleshoot these common causes at your origin web server: 1. Ensure the origin server responds to requests or the hostname and domain within the visitor’s URL that generated the 502 or 504 error. 2. Investigate excessive server loads, crashes, or network ailures. 3. Identiy applications or services that timed out or were Error 520: web server returns an unknown error Error 520 occurs when the origin server returns an empty, unknown, or unexpected response to Cloudare. Resolution Contact your hosting provider or site administrator and request a review o your origin web server error logs or crashes and to check or these common causes: 1. Origin web server application crashes 2. Cloudare IPs not allowed at your origin 3. Headers exceeding 16 KB (typically due to too Error 521: web server is down Error 521 occurs when the origin web server reuses connections rom Cloudare. The two most common causes o 521 errors are: 1. Ofined origin web server application 2. Blocked Cloudare requests Resolution 1. Ensure your origin web server is responsive 2. Review origin web server error logs to identiy web server application crashes or outages. 3. Conrm Cloudare IP addresses are not blocked or rate limited 4. Allow all Cloudare IP ranges in your origin web Error 524: a timeout occurred Error 524 indicates that Cloudare successully connected to the origin web server, but the origin did not provide an HTTP response beore the deault 100 second connection timed out. This can happen i the origin server is simply taking too long because it has too much work to do or because the server is struggling or resources and cannot return any data in time. Resolution Contact your hosting provider to exclude the ollowing common causes at your origin web server: 1. A long-running process on the origin web server. Error 525: SSL handshake ailed 525 errors indicate that the SSL handshake between Cloudare and the origin web server ailed. Error 525 occurs when these two conditions are true: 1. The SSL handshake ails between Cloudare and the origin web server, and 2. Full or Full (Strict) SSL is set in the Overview tab o your Cloudare SSL/TLS app. Resolution Contact your hosting provider to exclude the ollowing common causes at your origin web server: 1. No valid SSL certicate installed 2. Port 443 (or other custom secure port) is not open Limitations o Cloudare 1. Cloudare may aect internal statistic programs that read directly rom Apache logs. 2. Cloudare caches static content rom your site. While this reduces the load on your server, it means that i you make a change to an existing static le, like an image, there may be a delay beore the change appears. While you are updating your site, you can put Cloudare in Development Mode, so changes appear immediately. Thank You! 24