Do not serve up oidc_ templates when accessed directly

This commit is contained in:
Johannes Zellner
2025-07-11 12:32:02 +02:00
parent 2fe84293b3
commit 5852fe54a7

View File

@@ -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;