Question

How do i direct Cloudflare with DigitalOcean/SpinUp? All I get is "403 Forbidden nginx"

Posted March 25, 2021 480 views
DNS

How do i direct Cloudflare with DigitalOcean/SpinUp? All I get is “403 Forbidden nginx”

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi @adramm,

This most probably is related to your setup, can you confirm what setup exactly you are using?

How did you set it up, have you followed any tutorial and if yes, what was it? Any useful information that you can think of and provide would help me further provide you with a more accurate suggestion.

Looking forward to your reply.

Regards,
KFSys

  • Cloudflare is a service that sits between the visitor and the website owner’s server, acting as a reverse proxy for websites. Cloudflare provides a Content Delivery Network (CDN), as well as DDoS mitigation and distributed domain name server services.

    Nginx is a popular web server responsible for hosting some of the largest and highest-traffic sites on the internet. It’s common for organizations to serve websites with Nginx and use Cloudflare as a CDN and DNS provider.

    In this tutorial you will secure your website served by Nginx with an Origin CA certificate from Cloudflare and configure Nginx to use authenticated pull requests. The advantages of using this setup are that you benefit from Cloudflare’s CDN and fast DNS resolution while ensuring that all connections pass through Cloudflare. This prevents any malicious requests from reaching your server.
    Step 1 — Generating an Origin CA TLS Certificate
    Step 2 — Installing the Origin CA certificate in Nginx
    Step 3 — Setting Up Authenticated Origin Pulls
    I also have complete information about how to migrate WordPress site to digitalocean.