diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 05:53:11 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 05:53:11 +0200 |
commit | b794f84da1aaf446a3965f9b9363f997b3183872 (patch) | |
tree | d59f80c7587b8748b79cdeecfb112892e7ccf083 /katrin.d | |
download | iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.gz iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.bz2 iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.xz iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.zip |
Initial configuration
Diffstat (limited to 'katrin.d')
-rw-r--r-- | katrin.d/adei.conf | 11 | ||||
l--------- | katrin.d/data.conf | 1 | ||||
-rw-r--r-- | katrin.d/data_local.variant | 10 | ||||
-rw-r--r-- | katrin.d/data_proxy.variant | 11 | ||||
-rw-r--r-- | katrin.d/ipe.conf | 3 | ||||
-rwxr-xr-x | katrin.d/kaas-auto-gen.sh | 24 | ||||
-rw-r--r-- | katrin.d/kaas-auto.conf | 372 | ||||
-rw-r--r-- | katrin.d/kaas-auto.template | 12 | ||||
-rw-r--r-- | katrin.d/kaas.conf | 4 | ||||
-rw-r--r-- | katrin.d/katrin.conf | 15 | ||||
-rw-r--r-- | katrin.d/kopmann.conf | 15 | ||||
-rw-r--r-- | katrin.d/orca.conf | 11 |
12 files changed, 489 insertions, 0 deletions
diff --git a/katrin.d/adei.conf b/katrin.d/adei.conf new file mode 100644 index 0000000..0a67f8f --- /dev/null +++ b/katrin.d/adei.conf @@ -0,0 +1,11 @@ +set $pcebessadei "http://pcebessadei.competence-e.kit.edu"; + +location ~ /adei-hiu/(.*) { + proxy_pass $pcebessadei/adei-hiu/$1$is_args$args; +} + +location /adei-battery-partner(.*) { + proxy_pass $pcebessadei/adei-battery-partner/$1$is_args$args; +} + +#RewriteRule ^/adei-smartgrid(.*) http://adei-smartgrid.kaas.kit.edu$1?%{QUERY_STRING} [L] diff --git a/katrin.d/data.conf b/katrin.d/data.conf new file mode 120000 index 0000000..d244cc7 --- /dev/null +++ b/katrin.d/data.conf @@ -0,0 +1 @@ +data_proxy.variant
\ No newline at end of file diff --git a/katrin.d/data_local.variant b/katrin.d/data_local.variant new file mode 100644 index 0000000..27c0ba4 --- /dev/null +++ b/katrin.d/data_local.variant @@ -0,0 +1,10 @@ +location /data { + root /mnt/pdv; + + deny all; + + sendfile on; + + location ~ "/data/(astor/|thunderstorm.*|orca.*)?$" { include /etc/nginx/template.d/autoindex.template; } + location ~ "/data/astor/(fossils|wave)" { include /etc/nginx/template.d/autoindex.template; } +} diff --git a/katrin.d/data_proxy.variant b/katrin.d/data_proxy.variant new file mode 100644 index 0000000..2b9a795 --- /dev/null +++ b/katrin.d/data_proxy.variant @@ -0,0 +1,11 @@ +location /data { + if ($kit_client) { + return 301 http://192.168.26.170$request_uri; + } + + return 301 http://$host/remote$request_uri; +} + +location /remote/data { + proxy_pass http://192.168.26.170/data; +} diff --git a/katrin.d/ipe.conf b/katrin.d/ipe.conf new file mode 100644 index 0000000..c245c7f --- /dev/null +++ b/katrin.d/ipe.conf @@ -0,0 +1,3 @@ +location /bscw { + return 301 https://fuzzy.fzk.de/bscw/bscw.cgi/1244850; +} diff --git a/katrin.d/kaas-auto-gen.sh b/katrin.d/kaas-auto-gen.sh new file mode 100755 index 0000000..2f3e635 --- /dev/null +++ b/katrin.d/kaas-auto-gen.sh @@ -0,0 +1,24 @@ +#! /bin/bash + +function oc { + cfg="/root/security/kaas.kit.edu.kubeconfig" + /usr/local/bin/oc --config "$cfg" "$@" +} + + +function gen { + sites=$(oc get route --all-namespaces | grep -P "^(adei|katrin|status|web) | grep kaas.kit.edu" | awk '{ print $3 }' | cut -d '.' -f 1) # " + + for site in $sites; do + adei=$(echo $site | grep -P "^adei-") + + url="" + [ -n "$adei" ] && url="/adei" + + cat kaas-auto.template | sed -re "s|@name@|$site|g; s|@url@|$url|g" + done +} + +gen > kaas-auto.conf + + diff --git a/katrin.d/kaas-auto.conf b/katrin.d/kaas-auto.conf new file mode 100644 index 0000000..c487330 --- /dev/null +++ b/katrin.d/kaas-auto.conf @@ -0,0 +1,372 @@ +location /adei-darwin/ { + proxy_set_header Host adei-darwin.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 Accept-Encoding ""; + + proxy_pass http://adei-darwin.kaas.kit.edu/; + sub_filter adei-darwin.kaas.kit.edu $host/adei-darwin; + proxy_redirect default; +# proxy_redirect http://adei-darwin.kaas.kit.edu http://$host/adei-darwin; +} +location /adei-darwin-debug/ { + proxy_set_header Host adei-darwin-debug.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 Accept-Encoding ""; + + proxy_pass http://adei-darwin-debug.kaas.kit.edu/; + sub_filter adei-darwin-debug.kaas.kit.edu $host/adei-darwin-debug; + proxy_redirect default; +# proxy_redirect http://adei-darwin-debug.kaas.kit.edu http://$host/adei-darwin-debug; +} +location /adei-darwin-logs/ { + proxy_set_header Host adei-darwin-logs.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 Accept-Encoding ""; + + proxy_pass http://adei-darwin-logs.kaas.kit.edu/; + sub_filter adei-darwin-logs.kaas.kit.edu $host/adei-darwin-logs; + proxy_redirect default; +# proxy_redirect http://adei-darwin-logs.kaas.kit.edu http://$host/adei-darwin-logs; +} +location /adei-katrin/ { + proxy_set_header Host adei-katrin.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 Accept-Encoding ""; + + proxy_pass http://adei-katrin.kaas.kit.edu/; + sub_filter adei-katrin.kaas.kit.edu $host/adei-katrin; + proxy_redirect default; +# proxy_redirect http://adei-katrin.kaas.kit.edu http://$host/adei-katrin; +} +location /adei-katrin-debug/ { + proxy_set_header Host adei-katrin-debug.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 Accept-Encoding ""; + + proxy_pass http://adei-katrin-debug.kaas.kit.edu/; + sub_filter adei-katrin-debug.kaas.kit.edu $host/adei-katrin-debug; + proxy_redirect default; +# proxy_redirect http://adei-katrin-debug.kaas.kit.edu http://$host/adei-katrin-debug; +} +location /adei-katrin-logs/ { + proxy_set_header Host adei-katrin-logs.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 Accept-Encoding ""; + + proxy_pass http://adei-katrin-logs.kaas.kit.edu/; + sub_filter adei-katrin-logs.kaas.kit.edu $host/adei-katrin-logs; + proxy_redirect default; +# proxy_redirect http://adei-katrin-logs.kaas.kit.edu http://$host/adei-katrin-logs; +} +location /adei-munin/ { + proxy_set_header Host adei-munin.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 Accept-Encoding ""; + + proxy_pass http://adei-munin.kaas.kit.edu/; + sub_filter adei-munin.kaas.kit.edu $host/adei-munin; + proxy_redirect default; +# proxy_redirect http://adei-munin.kaas.kit.edu http://$host/adei-munin; +} +location /adei-munin-debug/ { + proxy_set_header Host adei-munin-debug.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 Accept-Encoding ""; + + proxy_pass http://adei-munin-debug.kaas.kit.edu/; + sub_filter adei-munin-debug.kaas.kit.edu $host/adei-munin-debug; + proxy_redirect default; +# proxy_redirect http://adei-munin-debug.kaas.kit.edu http://$host/adei-munin-debug; +} +location /adei-munin-logs/ { + proxy_set_header Host adei-munin-logs.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 Accept-Encoding ""; + + proxy_pass http://adei-munin-logs.kaas.kit.edu/; + sub_filter adei-munin-logs.kaas.kit.edu $host/adei-munin-logs; + proxy_redirect default; +# proxy_redirect http://adei-munin-logs.kaas.kit.edu http://$host/adei-munin-logs; +} +location /adei-smartgrid/ { + proxy_set_header Host adei-smartgrid.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 Accept-Encoding ""; + + proxy_pass http://adei-smartgrid.kaas.kit.edu/; + sub_filter adei-smartgrid.kaas.kit.edu $host/adei-smartgrid; + proxy_redirect default; +# proxy_redirect http://adei-smartgrid.kaas.kit.edu http://$host/adei-smartgrid; +} +location /adei-smartgrid-debug/ { + proxy_set_header Host adei-smartgrid-debug.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 Accept-Encoding ""; + + proxy_pass http://adei-smartgrid-debug.kaas.kit.edu/; + sub_filter adei-smartgrid-debug.kaas.kit.edu $host/adei-smartgrid-debug; + proxy_redirect default; +# proxy_redirect http://adei-smartgrid-debug.kaas.kit.edu http://$host/adei-smartgrid-debug; +} +location /adei-smartgrid-logs/ { + proxy_set_header Host adei-smartgrid-logs.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 Accept-Encoding ""; + + proxy_pass http://adei-smartgrid-logs.kaas.kit.edu/; + sub_filter adei-smartgrid-logs.kaas.kit.edu $host/adei-smartgrid-logs; + proxy_redirect default; +# proxy_redirect http://adei-smartgrid-logs.kaas.kit.edu http://$host/adei-smartgrid-logs; +} +location /munin/ { + proxy_set_header Host munin.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 Accept-Encoding ""; + + proxy_pass http://munin.kaas.kit.edu/; + sub_filter munin.kaas.kit.edu $host/munin; + proxy_redirect default; +# proxy_redirect http://munin.kaas.kit.edu http://$host/munin; +} +location /phpmyadmin/ { + proxy_set_header Host phpmyadmin.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 Accept-Encoding ""; + + proxy_pass http://phpmyadmin.kaas.kit.edu/; + sub_filter phpmyadmin.kaas.kit.edu $host/phpmyadmin; + proxy_redirect default; +# proxy_redirect http://phpmyadmin.kaas.kit.edu http://$host/phpmyadmin; +} +location /katrin-webdav/ { + proxy_set_header Host katrin-webdav.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 Accept-Encoding ""; + + proxy_pass http://katrin-webdav.kaas.kit.edu/; + sub_filter katrin-webdav.kaas.kit.edu $host/katrin-webdav; + proxy_redirect default; +# proxy_redirect http://katrin-webdav.kaas.kit.edu http://$host/katrin-webdav; +} +location /kdb/ { + proxy_set_header Host kdb.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 Accept-Encoding ""; + + proxy_pass http://kdb.kaas.kit.edu/; + sub_filter kdb.kaas.kit.edu $host/kdb; + proxy_redirect default; +# proxy_redirect http://kdb.kaas.kit.edu http://$host/kdb; +} +location /kdb-backup/ { + proxy_set_header Host kdb-backup.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 Accept-Encoding ""; + + proxy_pass http://kdb-backup.kaas.kit.edu/; + sub_filter kdb-backup.kaas.kit.edu $host/kdb-backup; + proxy_redirect default; +# proxy_redirect http://kdb-backup.kaas.kit.edu http://$host/kdb-backup; +} +location /kali/ { + proxy_set_header Host kali.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 Accept-Encoding ""; + + proxy_pass http://kali.kaas.kit.edu/; + sub_filter kali.kaas.kit.edu $host/kali; + proxy_redirect default; +# proxy_redirect http://kali.kaas.kit.edu http://$host/kali; +} +location /kdb-orig/ { + proxy_set_header Host kdb-orig.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 Accept-Encoding ""; + + proxy_pass http://kdb-orig.kaas.kit.edu/; + sub_filter kdb-orig.kaas.kit.edu $host/kdb-orig; + proxy_redirect default; +# proxy_redirect http://kdb-orig.kaas.kit.edu http://$host/kdb-orig; +} +location /kdb-orig-backup/ { + proxy_set_header Host kdb-orig-backup.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 Accept-Encoding ""; + + proxy_pass http://kdb-orig-backup.kaas.kit.edu/; + sub_filter kdb-orig-backup.kaas.kit.edu $host/kdb-orig-backup; + proxy_redirect default; +# proxy_redirect http://kdb-orig-backup.kaas.kit.edu http://$host/kdb-orig-backup; +} +location /kdb-test/ { + proxy_set_header Host kdb-test.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 Accept-Encoding ""; + + proxy_pass http://kdb-test.kaas.kit.edu/; + sub_filter kdb-test.kaas.kit.edu $host/kdb-test; + proxy_redirect default; +# proxy_redirect http://kdb-test.kaas.kit.edu http://$host/kdb-test; +} +location /status-sds/ { + proxy_set_header Host status-sds.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 Accept-Encoding ""; + + proxy_pass http://status-sds.kaas.kit.edu/; + sub_filter status-sds.kaas.kit.edu $host/status-sds; + proxy_redirect default; +# proxy_redirect http://status-sds.kaas.kit.edu http://$host/status-sds; +} +location /status-sts/ { + proxy_set_header Host status-sts.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 Accept-Encoding ""; + + proxy_pass http://status-sts.kaas.kit.edu/; + sub_filter status-sts.kaas.kit.edu $host/status-sts; + proxy_redirect default; +# proxy_redirect http://status-sts.kaas.kit.edu http://$host/status-sts; +} +location /held/ { + proxy_set_header Host held.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 Accept-Encoding ""; + + proxy_pass http://held.kaas.kit.edu/; + sub_filter held.kaas.kit.edu $host/held; + proxy_redirect default; +# proxy_redirect http://held.kaas.kit.edu http://$host/held; +} +location /wordpressdb/ { + proxy_set_header Host wordpressdb.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 Accept-Encoding ""; + + proxy_pass http://wordpressdb.kaas.kit.edu/; + sub_filter wordpressdb.kaas.kit.edu $host/wordpressdb; + proxy_redirect default; +# proxy_redirect http://wordpressdb.kaas.kit.edu http://$host/wordpressdb; +} +location /test-web/ { + proxy_set_header Host test-web.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 Accept-Encoding ""; + + proxy_pass http://test-web.kaas.kit.edu/; + sub_filter test-web.kaas.kit.edu $host/test-web; + proxy_redirect default; +# proxy_redirect http://test-web.kaas.kit.edu http://$host/test-web; +} +location /trac-adei/ { + proxy_set_header Host trac-adei.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 Accept-Encoding ""; + + proxy_pass http://trac-adei.kaas.kit.edu/; + sub_filter trac-adei.kaas.kit.edu $host/trac-adei; + proxy_redirect default; +# proxy_redirect http://trac-adei.kaas.kit.edu http://$host/trac-adei; +} +location /trac-pdv/ { + proxy_set_header Host trac-pdv.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 Accept-Encoding ""; + + proxy_pass http://trac-pdv.kaas.kit.edu/; + sub_filter trac-pdv.kaas.kit.edu $host/trac-pdv; + proxy_redirect default; +# proxy_redirect http://trac-pdv.kaas.kit.edu http://$host/trac-pdv; +} +location /ufo-web/ { + proxy_set_header Host ufo-web.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 Accept-Encoding ""; + + proxy_pass http://ufo-web.kaas.kit.edu/; + sub_filter ufo-web.kaas.kit.edu $host/ufo-web; + proxy_redirect default; +# proxy_redirect http://ufo-web.kaas.kit.edu http://$host/ufo-web; +} +location /ufo/ { + proxy_set_header Host ufo.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 Accept-Encoding ""; + + proxy_pass http://ufo.kaas.kit.edu/; + sub_filter ufo.kaas.kit.edu $host/ufo; + proxy_redirect default; +# proxy_redirect http://ufo.kaas.kit.edu http://$host/ufo; +} +location /web-kopmann/ { + proxy_set_header Host web-kopmann.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 Accept-Encoding ""; + + proxy_pass http://web-kopmann.kaas.kit.edu/; + sub_filter web-kopmann.kaas.kit.edu $host/web-kopmann; + proxy_redirect default; +# proxy_redirect http://web-kopmann.kaas.kit.edu http://$host/web-kopmann; +} diff --git a/katrin.d/kaas-auto.template b/katrin.d/kaas-auto.template new file mode 100644 index 0000000..502d2b9 --- /dev/null +++ b/katrin.d/kaas-auto.template @@ -0,0 +1,12 @@ +location /@name@/ { + proxy_set_header Host @name@.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 Accept-Encoding ""; + + proxy_pass http://@name@.kaas.kit.edu/; + sub_filter @name@.kaas.kit.edu $host/@name@; + proxy_redirect default; +# proxy_redirect http://@name@.kaas.kit.edu http://$host/@name@; +} diff --git a/katrin.d/kaas.conf b/katrin.d/kaas.conf new file mode 100644 index 0000000..fd05ef5 --- /dev/null +++ b/katrin.d/kaas.conf @@ -0,0 +1,4 @@ +location /adei/ { + proxy_pass http://adei-katrin.kaas.kit.edu; + +} diff --git a/katrin.d/katrin.conf b/katrin.d/katrin.conf new file mode 100644 index 0000000..ec215a4 --- /dev/null +++ b/katrin.d/katrin.conf @@ -0,0 +1,15 @@ +location = / { + return 301 https://www.katrin.kit.edu; +} + +location /elog-detector { + return 301 https://crunch5.npl.washington.edu:8443; +} + +location /elog { + return 301 https://neutrino.ikp.kit.edu:8080; +} + +location /wiki { + return 301 http://ikp-katrin-wiki.ikp.kit.edu/katrin; +} diff --git a/katrin.d/kopmann.conf b/katrin.d/kopmann.conf new file mode 100644 index 0000000..4371eee --- /dev/null +++ b/katrin.d/kopmann.conf @@ -0,0 +1,15 @@ +location /docs { + return 301 http://web-kopmann.kaas.kit.edu/docs; +} + +location /docs/data { + return 301 http://$host/data/orca/; +} + +location /softare { + return 301 http://ipepdvsrv1.ipe.kit.edu/software/; +} + +location /drivers { + proxy_pass http://ipepdvsrv1.ipe.kit.edu/software/Drivers/; +} diff --git a/katrin.d/orca.conf b/katrin.d/orca.conf new file mode 100644 index 0000000..aed5b8b --- /dev/null +++ b/katrin.d/orca.conf @@ -0,0 +1,11 @@ +location /OrcaWeb { + proxy_pass http://192.168.110.67/OrcaWeb/; +} + +location /OrcaDbAccess { + proxy_pass http://192.168.110.67/OrcaDbAccess/; +} + +location /OrcaHelp { + return 301 http://orca.physics.unc.edu/~markhowe/; +} |