blob: b6caa60947a3752e74537ea2af752722d51b745a [file] [log] [blame]
server {
listen 80;
root /usr/share/nginx/html;
resolver 127.0.0.1 valid=10s;
location ~/datalake/v1(.*)$ {
#set $upstreamName http://dl_feeder:1680/datalake/v1$1;
include /etc/nginx/upstream.conf;
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;
}
}