From 0ab038150f84fa2d821f7dea99542d04a08f6683 Mon Sep 17 00:00:00 2001 From: Marco Ebert Date: Mon, 25 Mar 2024 00:42:31 +0100 Subject: [PATCH] Chores: Remove recently added whitespaces. --- docs/user-guide/nginx-configuration/configmap.md | 4 ++-- rootfs/etc/nginx/template/nginx.tmpl | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/user-guide/nginx-configuration/configmap.md b/docs/user-guide/nginx-configuration/configmap.md index 9dad331f16..89a35b07b2 100644 --- a/docs/user-guide/nginx-configuration/configmap.md +++ b/docs/user-guide/nginx-configuration/configmap.md @@ -741,7 +741,7 @@ _**default:**_ false ## geoip2-autoreload-in-minutes -Enables the [geoip2 module](https://github.com/leev/ngx_http_geoip2_module) autoreload in MaxMind databases setting the interval in minutes. +Enables the [geoip2 module](https://github.com/leev/ngx_http_geoip2_module) autoreload in MaxMind databases setting the interval in minutes. _**default:**_ 0 @@ -1439,4 +1439,4 @@ validate that only authorized users can use `ImplementationSpecific` pathType an Sets the configuration for the GRPC Buffer Size parameter. If not set it will use the default from NGINX. _References:_ -[https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_buffer_size](https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_buffer_size) \ No newline at end of file +[https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_buffer_size](https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_buffer_size) diff --git a/rootfs/etc/nginx/template/nginx.tmpl b/rootfs/etc/nginx/template/nginx.tmpl index f117070c8a..b3b3f8683e 100644 --- a/rootfs/etc/nginx/template/nginx.tmpl +++ b/rootfs/etc/nginx/template/nginx.tmpl @@ -202,7 +202,7 @@ http { geoip2 /etc/ingress-controller/geoip/GeoLite2-City.mmdb { {{ if (gt $cfg.GeoIP2AutoReloadMinutes 0) }} auto_reload {{ $cfg.GeoIP2AutoReloadMinutes }}m; - {{ end }} + {{ end }} $geoip2_city_country_code source=$remote_addr country iso_code; $geoip2_city_country_name source=$remote_addr country names en; $geoip2_city_country_geoname_id source=$remote_addr country geoname_id; @@ -228,7 +228,7 @@ http { geoip2 /etc/ingress-controller/geoip/GeoIP2-City.mmdb { {{ if (gt $cfg.GeoIP2AutoReloadMinutes 0) }} auto_reload {{ $cfg.GeoIP2AutoReloadMinutes }}m; - {{ end }} + {{ end }} $geoip2_city_country_code source=$remote_addr country iso_code; $geoip2_city_country_name source=$remote_addr country names en; $geoip2_city_country_geoname_id source=$remote_addr country geoname_id; @@ -254,7 +254,7 @@ http { geoip2 /etc/ingress-controller/geoip/GeoLite2-ASN.mmdb { {{ if (gt $cfg.GeoIP2AutoReloadMinutes 0) }} auto_reload {{ $cfg.GeoIP2AutoReloadMinutes }}m; - {{ end }} + {{ end }} $geoip2_asn source=$remote_addr autonomous_system_number; $geoip2_org source=$remote_addr autonomous_system_organization; } @@ -264,7 +264,7 @@ http { geoip2 /etc/ingress-controller/geoip/GeoIP2-ASN.mmdb { {{ if (gt $cfg.GeoIP2AutoReloadMinutes 0) }} auto_reload {{ $cfg.GeoIP2AutoReloadMinutes }}m; - {{ end }} + {{ end }} $geoip2_asn source=$remote_addr autonomous_system_number; $geoip2_org source=$remote_addr autonomous_system_organization; } @@ -274,7 +274,7 @@ http { geoip2 /etc/ingress-controller/geoip/GeoIP2-ISP.mmdb { {{ if (gt $cfg.GeoIP2AutoReloadMinutes 0) }} auto_reload {{ $cfg.GeoIP2AutoReloadMinutes }}m; - {{ end }} + {{ end }} $geoip2_isp source=$remote_addr isp; $geoip2_isp_org source=$remote_addr organization; $geoip2_asn source=$remote_addr default=0 autonomous_system_number; @@ -291,7 +291,7 @@ http { geoip2 /etc/ingress-controller/geoip/GeoIP2-Anonymous-IP.mmdb { {{ if (gt $cfg.GeoIP2AutoReloadMinutes 0) }} auto_reload {{ $cfg.GeoIP2AutoReloadMinutes }}m; - {{ end }} + {{ end }} $geoip2_is_anon source=$remote_addr is_anonymous; $geoip2_is_anonymous source=$remote_addr default=0 is_anonymous; $geoip2_is_anonymous_vpn source=$remote_addr default=0 is_anonymous_vpn;