From dc16094b93195476ef10af0b0579ed716ebb9d66 Mon Sep 17 00:00:00 2001 From: vebnor Date: Tue, 5 Mar 2024 13:32:25 +0100 Subject: [PATCH] =?UTF-8?q?teste=20=C3=A5=20inkludere=20host?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy.nginx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy.nginx b/proxy.nginx index 4cb93e5395..ef98cd4f2d 100644 --- a/proxy.nginx +++ b/proxy.nginx @@ -140,7 +140,7 @@ server { location @401_json { default_type application/json; - add_header Location /k9/sak/resource/login?original=$request_uri always; + add_header Location /k9/sak/resource/login?original=$host$request_uri always; return 401 '{"feilmelding":"Bruker ikke innlogget","type":"MANGLER_TILGANG_FEIL"}'; }