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

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

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