Enforce HTTPS canonical Studio routes

This commit is contained in:
Arvind Prabhakar 2026-09-05 20:57:12 +00:00
commit 0887fa233c
3 changed files with 16 additions and 1 deletions

View file

@ -17,6 +17,7 @@ spec:
filters:
- type: RequestRedirect
requestRedirect:
scheme: https
path:
type: ReplaceFullPath
replaceFullPath: /services/studio/forgejo/

View file

@ -12,8 +12,21 @@ spec:
rules:
- matches:
- path:
type: PathPrefix
type: Exact
value: /services/studio/openproject
filters:
- type: RequestRedirect
requestRedirect:
scheme: https
path:
type: ReplaceFullPath
replaceFullPath: /services/studio/openproject/
statusCode: 301
- matches:
- path:
type: PathPrefix
value: /services/studio/openproject/
backendRefs:
- name: openproject
port: 8080

View file

@ -17,6 +17,7 @@ spec:
filters:
- type: RequestRedirect
requestRedirect:
scheme: https
path:
type: ReplaceFullPath
replaceFullPath: /services/studio/pgadmin/