Clarify readme

This commit is contained in:
Felix Klenner 2024-07-21 17:30:20 +02:00
parent bf442d3554
commit 8808ea3b7b

View file

@ -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 - `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. - 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 { geoip2 /var/lib/GeoIP/GeoLite2-City.mmdb {
auto_reload 1h; 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 QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method; fastcgi_param REQUEST_METHOD $request_method;