summaryrefslogtreecommitdiffstats
path: root/katrin.d/kaas.conf
diff options
context:
space:
mode:
Diffstat (limited to 'katrin.d/kaas.conf')
-rw-r--r--katrin.d/kaas.conf16
1 files changed, 15 insertions, 1 deletions
diff --git a/katrin.d/kaas.conf b/katrin.d/kaas.conf
index fd05ef5..81fa241 100644
--- a/katrin.d/kaas.conf
+++ b/katrin.d/kaas.conf
@@ -1,4 +1,18 @@
location /adei/ {
proxy_pass http://adei-katrin.kaas.kit.edu;
-
}
+
+#Too complex...
+#location /rocketchat/ {
+# proxy_set_header Host rocketchat.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 https://rocketchat.kaas.kit.edu/;
+# sub_filter rocketchat.kaas.kit.edu $host/rocketchat;
+# sub_filter 'src="/' 'src="/rocketchat/';
+# proxy_redirect http://rocketchat.kaas.kit.edu http://$host/rocketchat;
+# proxy_redirect https://rocketchat.kaas.kit.edu https://$host/rocketchat;
+#}