summaryrefslogtreecommitdiffstats
path: root/katrin.d/kaas-auto.template
blob: 502d2b97f1d7cd339273ddd0e02b9fa2ecc6093c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
location /@name@/ {
	proxy_set_header Host @name@.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://@name@.kaas.kit.edu/;
	sub_filter @name@.kaas.kit.edu $host/@name@;
	proxy_redirect default;
#	proxy_redirect http://@name@.kaas.kit.edu http://$host/@name@;
}