Skip to main content

3 posts tagged with "object storage"

View All Tags

· One min read
Xiaohai Huang

In this guide, we'll configure Caddy to serve as a reverse proxy for Minio, an object storage server. This setup will allow you to access the Minio console and the object storage service through Caddy.

Caddy Configuration

storage.xiaohai-huang.net {
redir /minio-console /minio-console/
handle_path /minio-console/* {
reverse_proxy my-minio-server:9001
}

handle_path /* {
reverse_proxy my-minio-server:9000
}
}
note

You can remove the redir line if the Minio container specifies the console path as /minio-console/ (the trailing slash is needed)

Conclusion

With this configuration, Caddy will route traffic to the appropriate Minio services, making it easy to manage your object storage setup.

· 2 min read
Xiaohai Huang

This documentation covers the minimum settings required to configure NGINX to proxy requests to MinIO.

Given domain storage.xiaohai-huang.net

  • Proxy requests to https://storage.xiaohai-huang.net to the MinIO S3 API server listening on http://my-minio-server:9000
  • Proxy requests to the subpath (/minio-console) of the domain https://storage.xiaohai-huang.net/minio-console to the MinIO Web Console listening on http://my-minio-server:9001
HostContainer
https://storage.xiaohai-huang.nethttp://my-minio-server:9000
https://storage.xiaohai-huang.net/minio-consolehttp://my-minio-server:9001