Skip to content

Commit

Permalink
Fix issues with trailing slash on ui and apidoc
Browse files Browse the repository at this point in the history
(cherry picked from commit d819864)
  • Loading branch information
gbudinov authored and thjaeckle committed Apr 8, 2024
1 parent dbd2b60 commit c33e28c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deployment/helm/ditto/values.yaml
Expand Up @@ -409,6 +409,8 @@ ingress:
add_header "X-Content-Type-Options" "nosniff" always;
add_header "X-Frame-Options" "SAMEORIGIN" always;
add_header "X-XSS-Protection" "1; mode=block" always;
rewrite ^(/ui)$ $1/ permanent;
rewrite ^(/apidoc)$ $1/ permanent;
# devops the /devops, /api/2/connections, /status and /health commands Ingress configuration
devops:
# paths configures ingress paths
Expand Down

0 comments on commit c33e28c

Please sign in to comment.