From c3b3d5e9d6872a5ec277e26ee0223f5858c4c388 Mon Sep 17 00:00:00 2001 From: Lurkars Date: Mon, 28 Feb 2022 09:07:38 +0100 Subject: [PATCH] Fix nginx.conf to work with OIDC (#1932) * fix nginx.conf to work with OIDC * rewrite like .htaccess --- front/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/front/nginx.conf b/front/nginx.conf index 34fbd01a..9521137c 100644 --- a/front/nginx.conf +++ b/front/nginx.conf @@ -40,6 +40,9 @@ server { location / { root /usr/share/nginx/html; index index.html; + rewrite ^/register/ /index.html break; + rewrite ^/login /index.html break; + rewrite ^/jwt /index.html break; } location ~ ^/[@_]/ {