diff --git a/src/nginxconfig.ejs b/src/nginxconfig.ejs index f79532872..02854087b 100644 --- a/src/nginxconfig.ejs +++ b/src/nginxconfig.ejs @@ -286,6 +286,11 @@ server { proxy_pass http://127.0.0.1:3000; } + # do not serve up oidc_ views + location ~ ^/oidc_.* { + return 302 /; + } + location / { root <%= sourceDir %>/dashboard/dist; error_page 404 = @dashboarderrorredirect;