582 B
582 B
Setting up Proxy using Caddy.
Please download Caddy Server
Create a caddy configuration file as below, change the ip addresses according to your local minio and DNS configuration.
$ ./minio --address localhost:9000 server <your_export_dir>
your.public.com {
proxy / localhost:9000 {
proxy_header Host {host}
proxy_header X-Real-IP {remote}
proxy_header X-Forwarded-Proto {scheme}
}
}
$ ./caddy
Activating privacy features... done.
your.public.com:443
your.public.com:80