Walter Johnson
11/29/2022, 7:44 PMBarak Amar
11/29/2022, 7:45 PMWalter Johnson
11/29/2022, 7:46 PMBarak Amar
11/29/2022, 7:50 PMWalter Johnson
11/29/2022, 7:56 PMBarak Amar
11/29/2022, 7:57 PMWalter Johnson
11/29/2022, 7:59 PMBarak Amar
11/29/2022, 7:59 PMcurl -v -u key:secret <http://www.google.com|www.google.com> 2>&1 | grep Authorization
Will hill dump the value you need.
On the nginx root location you can redirect the traffic to lakeFS and pass the above creds:
proxy_pass <http://127.0.0.1:8000>;
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 Authorization "Basic ...";
This is sample configuration based on the fact that both running on the same machine.Walter Johnson
11/29/2022, 10:07 PM