Issue with image loading #1946
Unanswered
PagesHydro
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
In case this is still needed ... assuming you are using docker ... I'm not doing this professionally, but minio needs to be in the same docker network as docs. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Docs community 👋 My company Hydro-Berlin self-hosts this amazing app, so thank you for it first ! :)
We are currently encountering an issue where our instance of Docs can upload files and images (via the /image and /file commands) to our self-hosted Minio S3 instance but they cannot be displayed back on the frontend. I checked and the files / images are correctly stored in our S3 but they seem "corrupted" when shown to the user on the frontend.
After downloading an uploaded python file, the only content was
400 Bad Request: malformed Host header, which makes me wonder if this has to do with a Django host-related security setting. I was however not able to debug this.I was also wondering if this might have to do with the
MEDIA_BASE_URLsetting, which I was not sure how to configure as the documentation for it is empty.Has anyone encountered a similar issue ?
I would appreciate any help or pointers.
Thank you !
This seemed to me like an issue coming from me and not Docs, hence placing it here and not in the issues.
Beta Was this translation helpful? Give feedback.
All reactions