From 8808ea3b7babce3f0440d0baee2414ce0f064ed4 Mon Sep 17 00:00:00 2001 From: Felix Klenner Date: Sun, 21 Jul 2024 17:30:20 +0200 Subject: [PATCH] Clarify readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 26e2d4a..2ea7eda 100644 --- a/README.md +++ b/README.md @@ -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;