Openlitespeed

Deploy Strapi on Digital Ocean Full Guide

Deploy Strapi on Digital Ocean Full Guide

#Deploy #Strapi #Digital #Ocean #Full #Guide

“KaizneCodes”

($200 free trial)

Code to add to middlewares.ts file:
{
name: “strapi::security”,
config: {
contentSecurityPolicy: {


source

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

22 Comments

  1. Really good tutorial, helped me out a lot. But I just wanted to give a warning to anyone wanting to replicate it – the strapi-provider-upload-do package appears to be outdated. I could be wrong but I've spent two days trying to get it to work, there hasn't been an update to it in 9 months, and all the documentation I can find is outdated. You (and I lol) will have to find another way to host your images.

  2. Thanks for this, really helpful. I'm plugging in a DO bucket that already has images in. Strapi doesn't seem to pull them through for me though. Is that just how it works or do you know if I need to configure something else?

  3. There is an issue where videos (or maybe just larger files) don't contain "https:/" when uploaded. This makes video preview not work in strapi and can also cause issues on the frontend.

  4. One of those things where this is the exact thing I needed! I have been stuck with a blog that I am making with strapi and sveltekit. Deploying strapi became a nightmare and cloudinary doesn't work in my country si was literally trying to figure this out! Thank you!!!

Leave a Reply