Using Cloudflare Proxy¶
Step 1: Set Up Cloudflare¶
- Add Your Domain: Log in to your Cloudflare account and add your domain if you haven't already.
- Change DNS Settings: Ensure your A record points to your server's IP address and is proxied (orange cloud icon).
Step 2: Enable HTTPS¶
- SSL/TLS Settings: In the Cloudflare dashboard, navigate to the SSL/TLS settings.
- Set SSL Mode: Choose "Full" or "Full (Strict)" for better security.
- Automatic HTTPS Rewrites: Enable automatic HTTPS rewrites to help redirect HTTP traffic to HTTPS.
Step 3: Test Your Setup¶
Navigate to https://yourdomain.com in your browser to verify that the HTTPS connection is working.