mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #1731] Reverse Proxy with MinIO Server availability problem #1287
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1287
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chainyo on GitHub (Jan 5, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1731
Hey, Proxy Manager is really really
awesome, it saves me a lot of time but I am facing a little issue with my personal single mode deployment MinIO server.I have deployed on my Synology NAS (DS415+) a MinIO server though Docker, here is the command (these are not the real root user credentials obviously):
Everything is running well in local, I can access the
console(192.168.1.x:9101) and theAPI(192.168.1.x:9100) though Python script.But I am using
Ngninx Proxy Managerto make this service available outside my local network with my own domain name which ischainyo.tech.So I added the minio container in the proxy network to make them communicate.
I have setup two redirections:
s3.chainyo.techI can access to the console on port 9101, everything is running well, it's working I can access to the console, I can login and manage the server without any restrictions.s3.api.chainyo.techI can't use this endpoint in my Python script, the client seems to connect but finally timeout after a long long time.Here is my simple test script, which timeout after the "client connected" print:
And finally this is my Nginx conf file inspired from the MinIO documentation I have found here:
This is the error trace while trying to interact with the api in Python:
Is there anything I am missing ? Anyone have already achieved that kind of stuff ?
P.S. I used ports 9100 and 9101 because I'm already using port 9000 for
portainerservice.@chainyo commented on GitHub (Jan 14, 2022):
No one ever deployed a MinIO server ? 😢
@rickmills commented on GitHub (Mar 31, 2022):
Hit the same issue, here's how I ended up getting it working:
@chainyo commented on GitHub (Apr 3, 2022):
Hey thanks for your answer, I understand the SSL section part, but what do you mean by
API subdomain? @rickmills@rickmills commented on GitHub (Apr 3, 2022):
So I found I basically had to have two domains. 1 for the web ui and one for anything interacting with minio from a script or command line. It has to be a separate domain pointing at port 9000.
One other step I missed out, in Nginx proxy manager make sure you've ticked the box to enable 'Websockets support' as this will force proxy manager to forward any host headers, which are needed for most applications.
@chainyo commented on GitHub (Apr 4, 2022):
OK! Good to know! Thanks for your insights!
@samgaw58 commented on GitHub (Jul 20, 2022):
@ChainYo Did you ever get this working? I have a minio docker image running, Nginx Proxy Manager has two sub domains pointing at ports 9001 (web console) & 9002 for the block storage. I want to be able to backup a Synology NAS using HyperBackup. If I set HyperBackup up pointing at the sub domain on port 9002 I can connect as far as creating a new bucket, but it then informs me that the connection has been dropped. If I use your settings above edited to match my own settings. The Proxy host immediately goes offline once I save the config.
@chainyo commented on GitHub (Jul 20, 2022):
I decided to use
Cloudflare Tunnels. That's so easier!!@samgaw58 commented on GitHub (Jul 20, 2022):
OK thanks, someone somewhere must have gotten this to work!
@stilet commented on GitHub (Aug 16, 2022):
Create 2 domains and create 2 entries with different ports:
dev.test.com - console, files.test.com - server.
Add MINIO_SERVER_URL=https://files.test.com in docker enviroment
@Adigezalov commented on GitHub (Sep 25, 2022):
@ChainYo Hello. Did you manage to solve this problem? I ran into exactly the same problem and can't seem to find a solution to the problem.
@mathiznogoud commented on GitHub (Nov 27, 2022):
legend. worked for me
@zandhaas commented on GitHub (Feb 9, 2023):
I still have the same issue after trying all of the above.
@mathiznogoud. Is it possible you share your configuration of the nginx PM and the docker compose with us?
@scottruzal commented on GitHub (Sep 22, 2023):
I got this working after setting the MINIO_BROWSER_REDIRECT_URL environment variable in Docker.
See documentation here and below: https://min.io/docs/minio/linux/integrations/setup-nginx-proxy-with-minio.html
@tech1-baps commented on GitHub (Dec 29, 2023):
@chainyo i am also trying to use Cloudflare Tunnels but i am not able to get the MinIO Console Page to load.
@tech1-baps commented on GitHub (Dec 29, 2023):
did you use Cloudflare Tunnels completely in place of Ngninx? or in combination with Ngninx?
@chainyo commented on GitHub (Jan 3, 2024):
Hi @tech1-baps tbh I don't really remember precisely the manipulation I did to make it run as it was a long time ago I did that.
If I remember well I dropped totally nginx for cloudflare tunnels as it re-route the service correctly, but the cloudflare documentation is always evolving so I can't give you the exact manipulation I did.
@xrh0905 commented on GitHub (Jan 6, 2024):
Hi.
From my test, it appers that
Hostis the problem of this issue.If manually override the
proxy_set_header Host $host;intoproxy_set_header Host $http_host;, the minio start to respond as expect.Hope this get fixed soon since it's impossible to overwrite this head from UI nor custom configs but have to overwrite
/etc/nignx/conf.d/proxy.confsinceproxy_set_headercannot be re-set.@CodFrm commented on GitHub (Jan 27, 2024):
I started using docker-compose and then mounted the modified
proxy.confsuccessfully.@wudingjian commented on GitHub (Mar 19, 2024):
具体解决方法:详见官方文档:https://www.minio.org.cn/docs/minio/linux/integrations/setup-nginx-proxy-with-minio.html
如果你需要部署对象存储的网站是https,需要在Nginx Proxy Manager里将9080端口进行反代,并进行端口映射。例如端口映射到99,那你的endpoint就变成了https://域名:99
@github-actions[bot] commented on GitHub (Oct 6, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@AaronQkuis commented on GitHub (Jan 22, 2025):
I fix the issue in #1429 , hope it will be useful to you too.
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1429 #1429
@stilet
@AaronQkuis commented on GitHub (Jan 22, 2025):
I found the same issue when I deploying the minio , I can't find the right config in NPM https://nginxproxymanager.com
so i think I need to watch the source code and fond the real config file location.
The real config file is ./data/nginx/proxy_host/1.conf for me using docker-compose up ,so we can read the nginx config to check our config on NPM
so we can easily fix this issue , try again and again until find the right config
the right config for me to deploy the minio with NPM
we must add /etc/profile for minio
@dickyjoelsaputra commented on GitHub (Apr 13, 2025):
WAHAT A LEGEND , THANKYOU SO MUCH
@github-actions[bot] commented on GitHub (Oct 14, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍