Skip to content

Commit 7e2e560

Browse files
committed
Add ipinfo to the readme
1 parent 0d14cee commit 7e2e560

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This mod adds the maxmind database to nginx using the license key defined in the
44

55
This mod downloads the `GeoLite2-City.mmdb` database under `/config/geoip2db`, the database is updated weekly.
66

7-
**This mod should not be enabled together with the swag-dbip mod.**
7+
**This mod should not be enabled together with swag-dbip or swag-ipinfo mods.**
88

99
Follow these steps to enable the maxmind mod:
1010

@@ -21,7 +21,7 @@ Follow these steps to enable the maxmind mod:
2121
```nginx
2222
include /config/nginx/maxmind.conf;
2323
```
24-
5. Edit `/config/nginx/maxmind.conf` and add countries to the blocklist / whitelist according to the comments, for example:
24+
6. Edit `/config/nginx/maxmind.conf` and add countries to the blocklist / whitelist according to the comments, for example:
2525

2626
```nginx
2727
map $geoip2_data_country_iso_code $geo-whitelist {
@@ -34,7 +34,7 @@ Follow these steps to enable the maxmind mod:
3434
US no;
3535
}
3636
```
37-
6. Use the definitions in the following way:
37+
7. Use the definitions in the following way:
3838
```nginx
3939
server {
4040
listen 443 ssl;
@@ -49,4 +49,4 @@ Follow these steps to enable the maxmind mod:
4949
5050
location / {
5151
```
52-
7. Restart the container to apply the changes.
52+
8. Restart the container to apply the changes.

0 commit comments

Comments
 (0)