Enforce HTTPS canonical Studio routes
This commit is contained in:
parent
cca2521932
commit
0887fa233c
3 changed files with 16 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ spec:
|
|||
filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
scheme: https
|
||||
path:
|
||||
type: ReplaceFullPath
|
||||
replaceFullPath: /services/studio/forgejo/
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ spec:
|
|||
filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
scheme: https
|
||||
path:
|
||||
type: ReplaceFullPath
|
||||
replaceFullPath: /services/studio/pgadmin/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue