From c083136d946224af62822e8a6585ad0d9bfdffce Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 12 Dec 2019 16:02:40 +0100 Subject: Generate also BORA services --- katrin.d/kaas.conf | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'katrin.d/kaas.conf') 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; +#} -- cgit v1.2.3