Skip to content

Commit d9df66e

Browse files
committed
Add banned ips info
1 parent 5ac949d commit d9df66e

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ mvn install
1717
### Usage
1818
1) Configure webapp.
1919
2) (Optional) add your own language pack.
20-
3) Deploy the webapp in a tomcat server.
20+
3) (Optional) add banned ips.
21+
4) Deploy the webapp in a tomcat server.
2122

2223
##### 1) Configure Webapp.
2324
Go to target/SendEmailWebApp/WEB-INF folder.
@@ -59,7 +60,16 @@ Example lines of languaje file:
5960
> key=value to translate
6061
> not.change=This is a example
6162
62-
##### 3) Deploy the webapp in a tomcat server.
63+
##### 3) (Optional) add banned ips.
64+
Go to target/SnedEmailWebApp/WEB-INF/bannedIPs.txt
65+
Each line is a banned ip. If you want to add comments put "#" character and line start.
66+
Example file:
67+
> \#This is a comment.
68+
> \#Each line is a banned IP.
69+
> \#Ip hacker attacks:
70+
> 1.12.123.123
71+
72+
##### 4) Deploy the webapp in a tomcat server.
6373
Copy the target/SendEmailWebApp folder to a tomcat webapps folder.
6474
Or compress it on a war file and deploy it by tomcat manager.
6575

0 commit comments

Comments
 (0)