Permalink
Browse files

README: how to blacklist some .onion sites

1 parent 1496d40 commit 9e6e76617b8ff3f27e48d908f3405cf0d71175c2 @starius committed Aug 22, 2015
Showing with 13 additions and 0 deletions.
  1. +13 −0 README.md
View
@@ -47,3 +47,16 @@ server {
}
}
```
+
+To blacklist some .onion sites:
+
+```nginx
+server {
+ listen 80;
+ server_name
+.badonion12345678.onion.gq
+.anotherbadonion1.onion.gq
+;
+ return 403;
+}
+```

0 comments on commit 9e6e766

Please sign in to comment.