From ccc1fc45804cafa207a9323753b467d2a0bef05f Mon Sep 17 00:00:00 2001 From: vebnor Date: Tue, 5 Mar 2024 15:53:36 +0100 Subject: [PATCH] location --- proxy.nginx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy.nginx b/proxy.nginx index a652dc69cc..0853887650 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?redirectTo=$host/k9/web always; + add_header Location k9.intern.dev.nav.no/k9/sak/resource/login?original=$request_uri always; return 401 '{"feilmelding":"Bruker ikke innlogget","type":"MANGLER_TILGANG_FEIL"}'; }