[nextcloud-web] nginx: Set proper CIDR block for set_real_ip_from
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nextcloud-web] nginx: Set proper CIDR block for set_real_ip_from
- Date: Tue, 22 Jun 2021 12:15:29 +0000 (UTC)
commit 767eb460b5bc768d1f500f33d28756a46333dc01
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Tue Jun 22 14:15:11 2021 +0200
nginx: Set proper CIDR block for set_real_ip_from
nginx/nginx.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index b2c096f..e5dfebf 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -32,7 +32,7 @@ http {
ssl_certificate_key /var/serving-cert/tls.key;
# Docker default IP rangs
- set_real_ip_from 172.16.0.0/12;
+ set_real_ip_from 10.0.0.0/8;
real_ip_header X-Forwarded-For;
# Add headers to serve security related headers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]