mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated Use Cases (markdown)
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.
|
||||
|
||||
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
|
||||
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.
|
||||
```
|
||||
|
||||
|
||||
## Data Migration Example
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in a new issue