Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 647
    • Issues 647
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 88
    • Merge requests 88
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Issues
  • #420
Closed
Open
Issue created Dec 05, 2018 by Andi N. Fiziks@nuklearfiziks

Add CloudFront support

At the moment the S3 uploader assumes URLs will be of the format:

public_endpoint + "/" + bucket + "/" key

This can be seen in the get_file method, and it seems hardcoded.

If there was another config option to turn off appending the bucket to URLs, it'd be trivial to use CloudFront as a CDN in front of the S3 bucket. Or alternately, using S3's built-in static website hosting would be much simpler.

Happy to write a PR if it helps, but be forewarned I've never written a line of Elixir in my life so it might be Actually Very Bad™ if I do that. 😅

Assignee
Assign to
Time tracking