-
-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using a CDN in front of S3 storage (Digital Ocean) avatar URL is malformed. #4041
Comments
@okpierre it seems that the advice to disable |
@BorisKourt also you need to set this dansup mentioned this should not be s3 |
If I use the This is not a big deal as the avatars aren't really slowing anything down or taking up too much space. But for migration and consistency could be helpful to adjust this behavior. This all still works with As an aside I wonder how this two stage process is picked up by other Activity Pub nodes. Which URL they cache and re-reference. |
I think this is related to #4031 |
You can store Avatars to s3 too ... |
To store avatars to the s3 : Then run |
That doesn't seem to be defined anymore:
|
I'm no longer able to repro this issue |
I realized that this is a separate issue, this original comment is at: #2866 (comment)
Single image posts work correctly with the CDN setup as
AWS_URL
(haven't tried galleries). But for profile pictures the image path is malformed:It is adding
https://example.com
in front of theAWS_URL
value ofhttps//cdn.example.com
It should just be:
So far I have only seen this for profile pictures, and not with any other uploads.
And I can see the file at the correct path in the bucket.
Where in the codebase is this URL formed?
Annotated storage configuration for reference:
Update:
As per below this is the updated workaround config:
The text was updated successfully, but these errors were encountered: