summaryrefslogtreecommitdiffstats
path: root/components/datalake-handler/admin/nginx/dl-admin-nginx.template
blob: 559a1b236d5541714ec2c6d22223d90bf0e13bdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
server {
    listen 80;
    root  /usr/share/nginx/html;

    location ~/datalake/v1(.*)$ {

        proxy_pass ${DL_FEEDER_HOST}/datalake/v1$1;

        proxy_ssl_server_name on;

        proxy_redirect off;
        proxy_set_header Host $proxy_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;
    }
}