summaryrefslogtreecommitdiffstats
path: root/ufo.d
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-06 05:53:11 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-06 05:53:11 +0200
commitb794f84da1aaf446a3965f9b9363f997b3183872 (patch)
treed59f80c7587b8748b79cdeecfb112892e7ccf083 /ufo.d
downloadiperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.gz
iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.bz2
iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.xz
iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.zip
Initial configuration
Diffstat (limited to 'ufo.d')
-rw-r--r--ufo.d/kickstart.conf14
-rw-r--r--ufo.d/repos.conf7
-rw-r--r--ufo.d/ufoweb.conf9
3 files changed, 30 insertions, 0 deletions
diff --git a/ufo.d/kickstart.conf b/ufo.d/kickstart.conf
new file mode 100644
index 0000000..027c496
--- /dev/null
+++ b/ufo.d/kickstart.conf
@@ -0,0 +1,14 @@
+location /ands {
+ proxy_pass http://ands.kaas.kit.edu/;
+ 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;
+ proxy_set_header ANDS-Real-IP $remote_addr;
+ proxy_set_header ANDS-Forwarded-For $proxy_add_x_forwarded_for;
+}
+
+# Compatibility
+location /ands/repos/centos74 { proxy_pass http://ands.kaas.kit.edu/repos/centos7/centos74/; }
+location /ands/repos/gluster312 { proxy_pass http://ands.kaas.kit.edu/repos/centos7/centos312/; }
+location /ands/repos/openshift37 { proxy_pass http://ands.kaas.kit.edu/repos/centos7/openshift37/; }
+location /ands/repos/hardware { proxy_pass http://ands.kaas.kit.edu/repos/centos7/hardware/; }
diff --git a/ufo.d/repos.conf b/ufo.d/repos.conf
new file mode 100644
index 0000000..2afa765
--- /dev/null
+++ b/ufo.d/repos.conf
@@ -0,0 +1,7 @@
+location /ufo {
+ return 301 http://darksoft.org/webbzr/alps/;
+}
+
+location /sources/csa {
+ rewrite ^/sources/csa(/.*)$ http://darksoft.org/bzr/alps$1 permanent;
+}
diff --git a/ufo.d/ufoweb.conf b/ufo.d/ufoweb.conf
new file mode 100644
index 0000000..5a134a2
--- /dev/null
+++ b/ufo.d/ufoweb.conf
@@ -0,0 +1,9 @@
+rewrite ^/$ http://ufo.kit.edu/dis/;
+
+location /dis {
+ proxy_pass https://192.168.26.211/dis/;
+ proxy_set_header Host $host;
+ 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;
+}