diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-12-12 16:02:40 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-12-12 16:02:40 +0100 |
commit | c083136d946224af62822e8a6585ad0d9bfdffce (patch) | |
tree | bbd3119e9468a0fbb586b1b49a5322b364c624ea /katrin.d/kaas.conf | |
parent | 83fccfa25f622fbbd41c19102648179c93f58df5 (diff) | |
download | iperouter-c083136d946224af62822e8a6585ad0d9bfdffce.tar.gz iperouter-c083136d946224af62822e8a6585ad0d9bfdffce.tar.bz2 iperouter-c083136d946224af62822e8a6585ad0d9bfdffce.tar.xz iperouter-c083136d946224af62822e8a6585ad0d9bfdffce.zip |
Diffstat (limited to 'katrin.d/kaas.conf')
-rw-r--r-- | katrin.d/kaas.conf | 16 |
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; +#} |