Enable virtual host style buckets on Cloudron Minio
-
@jdaviescoates said in Help getting Cloudron Minio working with WordPress backup plugins (BackWPup or UpdraftPlus):
@jdaviescoates said in Help getting Cloudron Minio working with WordPress backup plugins (BackWPup or UpdraftPlus):
But that does leave me wondering: is minio really able to do path style buckets and not virtual host style? Because I was under the impression that path-style is the old way
It seems it should be possible to get Minio to accept virtual host style buckets by adding
MINIO_DOMAIN=minio.example.net
to env.sh - so out of interest I tried that, but it still doesn't work.@staff are you able to get Cloudron Minio to work with virtual host style buckets?
-
@jdaviescoates said in Enable virtual host style buckets on Cloudron Minio:
It seems it should be possible to get Minio to accept virtual host style buckets by adding MINIO_DOMAIN=minio.example.net to env.sh - so out of interest I tried that, but it still doesn't work.
I've just realised that when I tried that I'm not sure I added
export
which I think is necessary these days when adding stuff toenv.sh
files. Perhaps I should try it again... -
@jdaviescoates said in Enable virtual host style buckets on Cloudron Minio:
I've just realised that when I tried that I'm not sure I added export which I think is necessary these days when adding stuff to env.sh files. Perhaps I should try it again...
Oh, nope. I had added
export
afterall, but still couldn't get it to work (at least not with the WordPress Backup plugins I was trying to get it to work with, ie. BackWPup and UpdraftPlus) -
How do you verify setting the env var makes bucket.minio.ex.org go to your bucket? Do you have the sub.subdomain mapped manually?
-
@robi I don't know how it's supposed to work, but yeah maybe it would require the Minio to have aliases added too
Saying that, the minio docs don't explictly mention any dns changes being necessary
https://min.io/docs/minio/linux/reference/minio-server/settings/core.html#domain
-
@jdaviescoates right, unless it's a wildcard DNS for minio.ex.org you'll need to add buckets subs and see what minio does with it.
Check logs.