mirror of
https://github.com/minio/minio.git
synced 2024-12-26 07:05:55 -05:00
204ec2c6c0
* doc:README.md/Updated to sync with docs.minio.io * doc:README.me/Modified the minio server output terminal to reflect new release changes. * docs:README.md/Modified and changed location of other markdown files.
28 lines
582 B
Markdown
28 lines
582 B
Markdown
## Setting up Proxy using Caddy.
|
|
|
|
Please download [Caddy Server](https://caddyserver.com/download)
|
|
|
|
Create a caddy configuration file as below, change the ip addresses according to your local
|
|
minio and DNS configuration.
|
|
|
|
```bash
|
|
$ ./minio --address localhost:9000 server <your_export_dir>
|
|
```
|
|
|
|
```bash
|
|
your.public.com {
|
|
proxy / localhost:9000 {
|
|
proxy_header Host {host}
|
|
proxy_header X-Real-IP {remote}
|
|
proxy_header X-Forwarded-Proto {scheme}
|
|
}
|
|
}
|
|
```
|
|
|
|
```bash
|
|
$ ./caddy
|
|
Activating privacy features... done.
|
|
your.public.com:443
|
|
your.public.com:80
|
|
```
|