Self-hosted setup limiting CORS origin breaks Ente web #8646
Unanswered
woodedjurassicpark
asked this question in
Q&A
Replies: 0 comments
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.
-
Issue
I have a single server setup with an nginx reverse proxy. I am using a Garage S3 server on the same server. I can successfully use Ente web if my S3
Allow-Originheader is set to'*'. However, if I set theAllow-Originto anything else, then XHR GET requests break when using using Ente web from any browser. TheAllow-Originheader gets set tonullwhen GET requests are sent to S3. Therefore, images don't load but uploads work.There is some discussion on Discord here https://discord.com/channels/948937918347608085/1455243698794139901
Troubleshooting
I setup a custom log to see that the origin is being mapped correctly, when the browsers request origin is not null.

Configuration
io.example.net (NGINX - Garage - S3 )
Beta Was this translation helpful? Give feedback.
All reactions