Do not serve up oidc_ templates when accessed directly
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user