summaryrefslogtreecommitdiffstats
path: root/katrin.d/kaas.conf
blob: 81fa241e20594cec9049ec79fc97fe423f94c3f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
#}