[wgo-web] Strip ::ffff from X-Forwarded-For
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wgo-web] Strip ::ffff from X-Forwarded-For
- Date: Tue, 16 Jun 2020 10:26:48 +0000 (UTC)
commit 7af717e3a22b04131d1b09f0053f26d7c7f8542b
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Mon Jun 15 21:49:29 2020 +0200
Strip ::ffff from X-Forwarded-For
00_www.gnome.org.conf | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/00_www.gnome.org.conf b/00_www.gnome.org.conf
index c918fe4..7a96418 100644
--- a/00_www.gnome.org.conf
+++ b/00_www.gnome.org.conf
@@ -89,6 +89,7 @@
RewriteRule ^(.*) https://letsencrypt.gnome.org$1 [R=301,L]
# https://bugzilla.gnome.org/show_bug.cgi?id=795238
+ RequestHeader edit X-Forwarded-For ^::ffff: '' early
<LocationMatch "/(support\-gnome|friends)(/donate|)">
SetEnvIf GEOIP_COUNTRY_CODE IR BannedCountry
SetEnvIf GEOIP_COUNTRY_CODE KP BannedCountry
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]