summaryrefslogtreecommitdiffstats
path: root/ufo.d
diff options
context:
space:
mode:
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;
+}