Skip to content
Snippets Groups Projects

Modify config.md for s3

Merged aries requested to merge (removed):modify-config.md-for-S3 into develop
All threads resolved!

The setting of truncated_namespace is important when using S3 or compatible service or CDN with Pleroma. I used S3 in Pleroma, and I hate to see the bucket name as it is from outside. Therefore, I tried to use CDN, but Pleroma's access to S3 basically did not work because it was a path format. I read pleroma's doc, but I gave it up and read lib / pleroma / uploaders / s3.ex, and I realized that there are more options in Pleroma.Uploaders.S3. Then I did the following three things.

  • Create a CNAME to .s3- .amazonaws.com with Cloudflare
  • Set CNAME above public_endpoint
  • Set truncated_namespace to ""

It took me a lot of time because I didn't know much about programming. I like Pleroma, so I want the documentation to be a little better.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • aries resolved all discussions

    resolved all discussions

  • aries resolved all discussions

    resolved all discussions

  • aries added 1 commit

    added 1 commit

    • 550302c0 - Apply suggestion to docs/config.md

    Compare with previous version

  • Thank you!

  • merged

  • rinpatch mentioned in commit 58d567dd

    mentioned in commit 58d567dd

  • Author Contributor

    I'm glad to contribute!

  • Please register or sign in to reply
    Loading