summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-11 14:52:38 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-11 14:52:38 +0200
commit64ce83b06744bc7280db6a9fb05680c7673776ae (patch)
treee19eff64f8dd410fa6d1a89a01b6fd9707193692 /conf.d
parenteed898a473b73d87d2d50ffdaa9c6eeb43748f69 (diff)
downloadiperouter-64ce83b06744bc7280db6a9fb05680c7673776ae.tar.gz
iperouter-64ce83b06744bc7280db6a9fb05680c7673776ae.tar.bz2
iperouter-64ce83b06744bc7280db6a9fb05680c7673776ae.tar.xz
iperouter-64ce83b06744bc7280db6a9fb05680c7673776ae.zip
UFO web site fixes and few redirects for BORA stuff
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/01_ipranges.conf11
-rw-r--r--conf.d/git.conf3
2 files changed, 13 insertions, 1 deletions
diff --git a/conf.d/01_ipranges.conf b/conf.d/01_ipranges.conf
index 5bf8ba9..a825b42 100644
--- a/conf.d/01_ipranges.conf
+++ b/conf.d/01_ipranges.conf
@@ -1,5 +1,16 @@
geo $kit_client {
default 0;
+ 141.52.0.0/16 1;
+ 192.168.26.0/24 1;
+}
+
+geo $ipe_client {
+ default 0;
141.52.64.0/23 1;
192.168.26.0/24 1;
}
+
+geo $ds_client {
+ default 0;
+ 192.168.26.0/24 1;
+}
diff --git a/conf.d/git.conf b/conf.d/git.conf
index 24fbde0..68f1366 100644
--- a/conf.d/git.conf
+++ b/conf.d/git.conf
@@ -8,6 +8,7 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
- }
+ client_max_body_size 256m;
+ }
}