Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into main
  • Loading branch information
nicedexter committed Sep 8, 2021
2 parents d2b674b + 55b2741 commit ffec389
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/runner/conf/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@

# keycloak redirect on /services/ after login. In that case, redirect to /
redir /services/ / permanent

# hotfix for whitelabel error after login
redir /services/error / temporary

handle_errors {
@4xx expression `{http.error.status_code} == 401 || {http.error.status_code} = 404`
@4xx expression `{http.error.status_code} == 401 || {http.error.status_code} == 404`
redir * / temporary
}
}

0 comments on commit ffec389

Please sign in to comment.