From b9965761e8ce4b88427c764541e3e425453588dc Mon Sep 17 00:00:00 2001 From: "siraj.yasin" Date: Tue, 25 May 2021 18:34:35 +0000 Subject: [PATCH] Nginx reverse proxy passthrough basic auth * Set the proxy header to passthrough authentication header Change-Id: I05f2800ff27dd363219b359c0d053adf22033103 --- vino-reverse-proxy/assets/default.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vino-reverse-proxy/assets/default.conf b/vino-reverse-proxy/assets/default.conf index 1b6f71d..d3fca6e 100644 --- a/vino-reverse-proxy/assets/default.conf +++ b/vino-reverse-proxy/assets/default.conf @@ -3,6 +3,8 @@ server { server_name localhost; location / { proxy_pass http://localhost:5000/; + proxy_set_header Authorization $http_authorization; + proxy_pass_header Authorization; # Basic Auth limit_except OPTIONS {