You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
582 B
28 lines
582 B
9 years ago
|
## Setting up Proxy using Caddy.
|
||
9 years ago
|
|
||
|
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.
|
||
|
|
||
9 years ago
|
```bash
|
||
|
$ ./minio --address localhost:9000 server <your_export_dir>
|
||
|
```
|
||
|
|
||
9 years ago
|
```bash
|
||
|
your.public.com {
|
||
9 years ago
|
proxy / localhost:9000 {
|
||
9 years ago
|
proxy_header Host {host}
|
||
|
proxy_header X-Real-IP {remote}
|
||
|
proxy_header X-Forwarded-Proto {scheme}
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
```bash
|
||
|
$ ./caddy
|
||
|
Activating privacy features... done.
|
||
9 years ago
|
your.public.com:443
|
||
|
your.public.com:80
|
||
9 years ago
|
```
|