blob: 9551a1dbb9bd239253860c84d3e7444375af0c4c [file] [log] [blame]
server {
listen 80;
root /usr/share/nginx/html;
location ~/datalake/v1(.*)$ {
resolver 127.0.0.1 valid=10s;
set $upstreamName http://dl-feeder:1680/datalake/v1$1;
proxy_pass $upstreamName;
proxy_ssl_server_name on;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
}
}