mirror of
https://github.com/minio/minio.git
synced 2024-12-26 07:05:55 -05:00
24 lines
487 B
Markdown
24 lines
487 B
Markdown
|
### 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
|
||
|
your.public.com {
|
||
|
proxy / 10.0.1.3:9000 {
|
||
|
proxy_header Host {host}
|
||
|
proxy_header X-Real-IP {remote}
|
||
|
proxy_header X-Forwarded-Proto {scheme}
|
||
|
}
|
||
|
tls off
|
||
|
}
|
||
|
```
|
||
|
|
||
|
```bash
|
||
|
$ ./caddy
|
||
|
Activating privacy features... done.
|
||
|
your.public.com
|
||
|
```
|