File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ This mod adds the maxmind database to nginx using the license key defined in the
44
55This 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
99Follow 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.
You can’t perform that action at this time.
0 commit comments