You've already forked minio-cookbook
mirror of
https://github.com/astaxie/cookbook.git
synced 2025-08-08 09:42:04 +03:00
Doc: Realigned the content home and moved cookbook content inside docs directory. (#45)
This commit is contained in:
committed by
Harshavardhana
parent
55a8a5bd21
commit
29546a45e8
49
docs/setup-caddy-proxy-with-minio.md
Normal file
49
docs/setup-caddy-proxy-with-minio.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# Setup Caddy proxy with Minio Server [](https://gitter.im/minio/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
Caddy is a web server like Apache, nginx, or lighttpd. The purpose of Caddy is to streamline web development, deployment, and hosting workflows so that anyone can host their own web sites without requiring special technical knowledge.
|
||||
|
||||
In this recipe we will learn how to set up Caddy proxy with Minio Server.
|
||||
|
||||
## 1. Prerequisites
|
||||
|
||||
Install Minio Server from [here](http://docs.minio.io/docs/minio).
|
||||
|
||||
## 2. Installation
|
||||
|
||||
Install Caddy Server from [here](https://caddyserver.com/download).
|
||||
|
||||
## 3. Configuration
|
||||
|
||||
Create a caddy configuration file as below, change the ip addresses according to your local minio and DNS configuration.
|
||||
|
||||
```sh
|
||||
|
||||
your.public.com
|
||||
|
||||
proxy / localhost:9000 {
|
||||
transparent
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## 4. Recipe Steps
|
||||
|
||||
### Step 1: Start `minio` server.
|
||||
|
||||
|
||||
```sh
|
||||
|
||||
$ ./minio --address localhost:9000 server <your_export_dir>
|
||||
|
||||
```
|
||||
|
||||
### Step 2: Start `caddy` server.
|
||||
|
||||
```sh
|
||||
|
||||
$ ./caddy
|
||||
Activating privacy features... done.
|
||||
your.public.com:443
|
||||
your.public.com:80
|
||||
|
||||
```
|
Reference in New Issue
Block a user