Skip to content

Commit 2cc78ea

Browse files
committed
Document verb_acl middleware in default configuration
1 parent 8c90c5d commit 2cc78ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

conf/default.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,4 +258,7 @@ object_post_as_copy = false
258258

259259
[filter:verb_acl]
260260
use = egg:oioswift#verb_acl
261-
verb_acl = PUT:127.0.0.1,127.0.0.2;DELETE:127.0.0.3,127.0.0.4;PUT,DELETE:127.0.0.4,127.0.0.6
261+
# White list of IP addresses prefixes. For each listed HTTP verb,
262+
# only allow requests coming from a client whose address matches
263+
# one of the prefixes.
264+
verb_acl = PUT:127.0.0.1,127.0.0.2,192.;DELETE:127.0.0.3,127.0.0.4;PUT,DELETE:127.0.0.4,127.0.0.6

0 commit comments

Comments
 (0)