diff options
Diffstat (limited to 'katrin.d/kaas-auto.conf')
-rw-r--r-- | katrin.d/kaas-auto.conf | 372 |
1 files changed, 372 insertions, 0 deletions
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; +} |