Skip to content

Setting up Ghost DIgitalOcean droplet with cloudflare

General
11 2 3.6k 1
  • wrote on last edited by
    #1

    Hi, hope you are doing great. 🙂

    I’m trying to configure Ghost, and after the installation, Ghost is functional. However, after 10min, it enters a redirection loop. I’m unsure whether the issue lies with Cloudflare, Ghost, or Ghost’s private mode. I would appreciate any insights you can provide on this matter.

  • wrote on last edited by
    #2
  • Hi, hope you are doing great. 🙂

    I’m trying to configure Ghost, and after the installation, Ghost is functional. However, after 10min, it enters a redirection loop. I’m unsure whether the issue lies with Cloudflare, Ghost, or Ghost’s private mode. I would appreciate any insights you can provide on this matter.

    wrote on last edited by
    #3

    @Hari what is being displayed in the console?

  • @Hari what is being displayed in the console?

    wrote on last edited by
    #4

    @phenomlab idk, i think the issue with CF always SSL setting. i had to turn it off and let the nginx handle http>https . not sure this is safe approach or not for now the site is in under construction mode with ghost. we might move to ghost in 6 months the migration is the big task. wordpress and ghost both have their own pros and cons 😢

  • @phenomlab idk, i think the issue with CF always SSL setting. i had to turn it off and let the nginx handle http>https . not sure this is safe approach or not for now the site is in under construction mode with ghost. we might move to ghost in 6 months the migration is the big task. wordpress and ghost both have their own pros and cons 😢

    wrote on last edited by
    #5

    @Hari I would anyways have nginx handle the redirect between http and https anyway.

  • @Hari I would anyways have nginx handle the redirect between http and https anyway.

    wrote on last edited by
    #6

    @phenomlab New query: I’m attempting to install multiple instances of Ghost on a single droplet. I’ve completed the initial setup using the 1-click Digital Ocean setup as outlined in the following guide:

    https://forum.ghost.org/t/ghost-tips-tricks-12-install-multiple-ghost-installations-on-digitalocean/24723#create-a-website-directory-for-example-ubud-2

    However, while following the instructions in the above guide, I encountered an issue with the MySQL root passwords. I’m unsure about what went wrong, and I’m unable to determine the current MySQL root password. I’ve tried several commands found online, but none have been successful. Any suggestions? Please advise.

  • wrote on last edited by
    #7

    i have tried figuring out the root passwords and i could not do it. now going for a fresh ubutu droplet

  • wrote on last edited by
    #8

    I have found ways to properly modify root passowrd here, going with old droplet now 😄

    https://vegastack.com/tutorials/how-to-install-ghost-on-ubuntu-22-04/

  • I have found ways to properly modify root passowrd here, going with old droplet now 😄

    https://vegastack.com/tutorials/how-to-install-ghost-on-ubuntu-22-04/

    wrote on last edited by
    #9

    @Hari Interested to know how you got on with the GHOST journey 🙂

  • @Hari Interested to know how you got on with the GHOST journey 🙂

    wrote on last edited by
    #10

    @phenomlab It is all because of a theme 😄

  • @phenomlab It is all because of a theme 😄

    wrote on last edited by
    #11

    @Hari Really? Can you elaborate a bit more here?


Related Topics
  • 3 Votes
    30 Posts
    12k Views
    phenomlab
    @DownPW any update?
  • Cloudflare bot fight mode and Google search

    Blog cloudflare crawler indexing
    12
    2
    10 Votes
    12 Posts
    6k Views
    phenomlab
    @veronikya said in Cloudflare bot fight mode and Google search: docker modifications are a pain in the ass, I couldn’t have put that better myself - such an accurate analogy. I too have “been there” with this pain factor, and I swore I’d never do it again.
  • Deploy React + NodeJs App

    Solved Configure digitalocean nodejs react
    25
    4 Votes
    25 Posts
    10k Views
    phenomlab
    @justoverclock Any update ? Thanks EDIT - marking as solved based on the below thread https://sudonix.com/topic/339/digitalocean-step-by-step-guide-to-nginx-configuration
  • how to use CF tunnels with Virtualmin?

    Solved Configure cf tunnel cloudflare virtualmin
    10
    3 Votes
    10 Posts
    4k Views
    phenomlab
    @Hari DDoS protection is not just a switch, or one component. It’s a collection of different and often disparate technologies that when grouped together form the basis of a combined toolset that can be used in defence. Typically these consist of IDS (Instrusion Detection System) and IPS (Intrusion Prevention System) components that detect irregularities in network traffic, and will take decisive action based on predefined rulesets, or in the case of more modern systems, AI and ML. Traditional “traffic shaping” technology is also deployed, so if an attack cannot be easily identified as malicious, the bandwidth available to that connection is severely limited to nothing more than a trickle rather than a full flow. Years ago, ISP’s used traffic shaping (also called “policers”) as an effective means of stopping applications such as BearShare, eDonkey, Napster, and other P2P based sharing systems from functioning correctly - essentially reducing the “appeal” of distributing and seeding illegal downloads. This was essentially the ISP’s way of saying “stop what you are doing please” without actually pulling the plug. These days, DDoS attacks are designed to overwhelm - not assume control of - webservers and other public facing components. It’s rare for small entities to be attacked unless there is some form of political agenda driven by your site or product. A classic example is governmental institutions or lawmakers who effectively are classed as “enforcers” and those who disagree are effectively making a statement in the form of Denial of Service. DDoS protection is effectively the responsibility of the hosting provider, but you shouldn’t just assume that they will protect you or your site. Their responsibility stops at their infrastructure, so it’s then up to you too decide how you full the gap in between your host and the website. Typically, you’d leverage something like Imunify360 which you can get for Plesk (and something I’d strongly recommend) but it’s not free, and is a paid (not expensive per month) subscription. If you want to use VirtualMin then there are a variety of tools readily available out of the box such as firewalls and fail2ban.
  • how to configure DNS records virtualmin?

    Solved Linux digitalocean dns
    26
    1
    11 Votes
    26 Posts
    10k Views
    Hari
    i think we can mark this discussion as solved learned how to install virtualmin with NGINX We can easily point the DNS by mentioning server IP at CF a name record learned how to install SSL
  • setting up Matomo

    Solved General matomo
    48
    3 Votes
    48 Posts
    19k Views
    JAC
    @phenomlab said in setting up Matomo: @jac No problems. The Real-Time map is also working now [image: 4d2e12a7-0061-4a7d-9179-aeda31db09bf-image.png] Many thanks for that mate, I do keep logging in to check it. I need some more members
  • Cannot read property 'config' of undefined

    Solved Configure
    1
    0 Votes
    1 Posts
    945 Views
    No one has replied
  • Cloudflare now handling email routing, YAY 🚀

    Configure cloudflare
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied