Skip to content

Commit 79f8d6f

Browse files
committed
Update versions and style
1 parent 3a7e315 commit 79f8d6f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ libvmod-geoip2
66

77
## About
88

9-
A Varnish 6.0, 7.4 and 7.5 VMOD to query MaxMind GeoIP2 DB files.
9+
A Varnish 6.0, 7.6 and 7.7 VMOD to query MaxMind GeoIP2 DB files.
1010

1111
For Varnish master refer to the devel branch. Older Varnish versions
1212
are no longer supported.
@@ -22,7 +22,7 @@ To build this VMOD you will need:
2222
* varnish-dev in Debian/Ubuntu, varnish-devel in CentOS/RedHat or
2323
varnish in macOS [1]
2424
* libmaxminddb-dev in recent Debian/Ubuntu releases, maxminddb in
25-
macOS [1]. See also https://github.com/maxmind/libmaxminddb
25+
macOS [1]. See also <https://github.com/maxmind/libmaxminddb>
2626

2727
If you are building from Git, you will also need:
2828

@@ -39,7 +39,7 @@ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
3939
```
4040

4141
Finally, to use it you will need one or more GeoIP2 or GeoLite2
42-
binary databases. See https://dev.maxmind.com/.
42+
binary databases. See <https://dev.maxmind.com/>.
4343

4444
## Installation
4545

@@ -70,36 +70,36 @@ installing from a tarball.
7070

7171
### Packages
7272

73-
See https://github.com/varnishcache-friends/libvmod-geoip2/wiki#packages.
73+
See <https://github.com/varnishcache-friends/libvmod-geoip2/wiki#packages>.
7474

7575
## Example
7676

7777
```
7878
import geoip2;
7979
8080
sub vcl_init {
81-
new country = geoip2.geoip2("/path/to/GeoLite2-Country.mmdb");
81+
new country = geoip2.geoip2("/path/to/GeoLite2-Country.mmdb");
8282
}
8383
8484
sub vcl_recv {
85-
if (country.lookup("country/names/en", client.ip) != "Japan") {
86-
...
87-
}
85+
if (country.lookup("country/names/en", client.ip) != "Japan") {
86+
...
87+
}
8888
}
8989
```
9090

91-
More examples available at https://github.com/varnishcache-friends/libvmod-geoip2/wiki.
91+
More examples available at <https://github.com/varnishcache-friends/libvmod-geoip2/wiki>.
9292

9393
## DB updates
9494

9595
To update the GeoIP2 DB, download the new file on the same filesystem
9696
as the old one and move it over. See also
97-
https://github.com/maxmind/geoipupdate.
97+
<https://github.com/maxmind/geoipupdate>.
9898

9999
## License
100100

101101
This VMOD is licensed under BSD license. See LICENSE for details.
102102

103103
### Note
104104

105-
1. Using Homebrew, https://github.com/Homebrew/brew/.
105+
1. Using Homebrew, <https://github.com/Homebrew/brew/>.

0 commit comments

Comments
 (0)