Updated Use Cases (markdown)

Chris Lu 2019-03-14 22:29:04 -07:00
parent 034cc6b0ac
commit 5b6b313b96

@ -39,7 +39,9 @@ curl -H "Content-Type:image/png" -F file=@myImage.png http://127.0.0.1:8080/5,27
The simple way is to front all master and volume servers with firewall. The simple way is to front all master and volume servers with firewall.
However, if blocking servicing port is not feasible or trivial, a white list option can be used. Only traffic from the white list IP addresses have write permission. The following white list option is deprecated. Please follow https://github.com/chrislusf/seaweedfs/wiki/Security-Overview
A white list option can be used. Only traffic from the white list IP addresses have write permission.
```bash ```bash
weed master -whiteList="::1,127.0.0.1" weed master -whiteList="::1,127.0.0.1"
@ -47,6 +49,7 @@ weed volume -whiteList="::1,127.0.0.1"
# "::1" is for IP v6 localhost. # "::1" is for IP v6 localhost.
``` ```
## Data Migration Example ## Data Migration Example
```bash ```bash