summaryrefslogtreecommitdiffstats
path: root/katrin.d/data_proxy.variant
blob: 0658c5f934c5ca34ea8bda12301363bf1223aa3b (plain)
1
2
3
4
5
6
7
8
9
10
11
location /data {
    if ($kit_client) {
	return 301 http://ipepdvarchive.ipe.kit.edu$request_uri;
    } 

    return 301 http://$host/remote$request_uri;
}

location /remote/data {
    proxy_pass http://192.168.26.170/data;
}