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; } }