Reverse Proxy
I set up ente using docker compose. Now I'm trying to use NGINX for a reverse proxy.
My NGINX-Config is attached.
I can access media.domain.net without any issues.
But if I try to create an account I get the error "Somethin went wrong".
In the developer setings popup I tried using api.media.domain.net but it gave me this error: "NetworkError when attempting to fetch resource."
19 Replies
I'm sorry, I couldn't find the answer in the documentation.
-# If your issue is resolved, feel free to use the /solved command to close this thread. If you'd like to ask me another question use /docsearch
🔍 Similar Solved Posts
Found some similar posts that might help:
📋 Check these out:
Can't create first user (85%)
On the website it always shows "localhost:8080", I don't know why though
Do you know how to use your browsers dev tools? Can you show the network tab and see what the rest response is?
I am fairly sure I experienced the same issue
Sure! Here's the console output and the network tab.


Yeah I definitely got the same thing
I can't get back to you right away but I can get you my nginx config
Its either that or a minio issue
Sure, that would be great. I don't know what minio does exactly though.
btw, I just noticed that the museum container is listed as unhealthy.
This are the only errors / warnings I can see in the log:
Minio is a service for running object storage
Its basically your database running in a docker container
You need to allow accesses from a specific domain
How?
I can't access the device I did it on until tomorrow sorry. But you might find my thread helpful
https://discord.com/channels/948937918347608085/1393544918332342343/1393544918332342343
https://discord.com/channels/948937918347608085/1393544918332342343/1393544918332342343
Hmm, your nginx looks correct to me.
I would check:
* What does your museum.yaml look like? (Specifically your s3/b2-eu-cen/endpoint field)
* Also is apps: correct in your museum.yaml?
* What does your cors.xml look like?
The other thing I would try is this:
I’ve also got this setup with nginx, and I’m using a proxy for the Minio instance. I didn’t spot that in your nginx config, so maybe it’s just that causing the hiccup. As for Minio, I’d say Garage is a much better option!
Definitely agree that Garage is a better option!!
Could you elaborate why garage is a better option? I have a self hosted instance with minio running, would it make sense to switch?
I did switch it was easy. Its better because it consumes less resources first, there is less controversy (minio has removed the UI or dashboard cant remember suddenly in one release). You can cluster it later, starts with one node and had high availability later
given they are all s3 compatible high level switch recipe is to first setup up them both on different ports if its on the same host, create and permissions the buckets, then just use "rclone" to sync one bucket to the other (just make sure the ente server is down to avoid missing elements during sync)
For me, the switch was more for the long-term viability of the self-hosting. I usually don’t like it when a project is a bit "hostile". Also, I didn’t like the way they version their releases. Using Docker pull to update, I was afraid I would pull something that would break everything one day. With Garage, the release versions are more familiar with major releases, etc.
Yea, I'll add that they've been going quite corporate orientated for awhile
I used to use Minio for my self hosted S3, but now I just use Garage
Are there any docs on how to set it up with Garage? I'm trying to setup minio with an nginx proxy as well, and I keep running into issues
I've just installed garage following their quick start guide, with one node for now. Then because they all follow the "S3 API" its just a matter of providing the right key and secret... you basically create the same buckets ente expects
this is what I have in my museum config for s3
I now use Caddy for the reverse proxy but used to have nginx with minio
I think nginx is better but I find their config too complicated for simple things
the nginx config I had working with minio
Hm, alright - I've been trying to get garage working with nginx, but I can't seem to get it to pass through the reverse proxy
at least the initial setup for garage was pretty easy. I just can't seem to get it to play well with nginx
I gave up and moved to caddy. That worked
How did you setup the reverse proxy? I can't get it to work with cloudflare tunnels
