Clarify readme
This commit is contained in:
parent
bf442d3554
commit
8808ea3b7b
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ The following domain setup is required, for the IPv4/IPv6 tests to work:
|
|||
- `A` and `AAAA` record for ip.zuim.de as the main entry point
|
||||
- Set up your webserver, so direct ip access and all of these domains resolve to the project directory.
|
||||
|
||||
To get the geoip data, the geoip2 module for nginx is used with the following configuration:
|
||||
To get the geoip data, the geoip2 module for nginx is used with the following configuration (include in http block):
|
||||
```
|
||||
geoip2 /var/lib/GeoIP/GeoLite2-City.mmdb {
|
||||
auto_reload 1h;
|
||||
|
@ -34,7 +34,7 @@ geoip2 /var/lib/GeoIP/GeoLite2-ASN.mmdb {
|
|||
}
|
||||
```
|
||||
|
||||
Then the following should be used, to pass this data to php:
|
||||
Then the following should be used, to pass this data to php (include in php location block):
|
||||
```
|
||||
fastcgi_param QUERY_STRING $query_string;
|
||||
fastcgi_param REQUEST_METHOD $request_method;
|
||||
|
|
Loading…
Reference in a new issue