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
  • configure ghost and wordpress combo

    Moved Solved WordPress ghost wordpress nginx
    9
    7 Votes
    9 Posts
    3k Views
    phenomlab
    @Madchatthew I’d always post for the reasons I stated above. It’s useful information and could save someone else the headache.
  • 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.
  • speed up my DigitalOcean droplet - Virtualmin

    Solved Configure digitalocean virtualmin
    10
    4 Votes
    10 Posts
    3k Views
    Hari
    @phenomlab thanks for sharing, after four or five months I will migrate to DO 2 or 4gb RAM droplet.
  • Best Cloudflare settings for woo commerce

    Solved WordPress cloudflare wordpress woocommerce
    2
    1
    1 Votes
    2 Posts
    2k Views
    phenomlab
    @hari the cache level for woocommerce should always be bypass. Any caching of woocommerce will cause you serious issues and will result in the checkout process not functioning correctly. This does mean that the overall experience will be slower (depending on geographic location) although CF is known to cause significant issues hence the need to bypass. If you want to cache as much as possible, then set rules to bypass caching on the cart and account pages etc.
  • Cannot read property 'config' of undefined

    Solved Configure
    1
    0 Votes
    1 Posts
    945 Views
    No one has replied
  • Need help with ping in linux

    Locked Linux ping ubuntu
    16
    5 Votes
    16 Posts
    6k Views
    phenomlab
    Note to everyone else here. This user was formally banned from metabullet.com for abusing the service, and as a result, has been banned here also. Quite why this person thought it was ok to come here under the guise of an account he’d previously used at metabullet.com and hope I wouldn’t notice is beyond me. If you abuse my services once, you won’t get to use them again - period. As a reminder, the policies surrounding this service, and it’s usage can be found here