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:
|
filters:
|
||||||
- type: RequestRedirect
|
- type: RequestRedirect
|
||||||
requestRedirect:
|
requestRedirect:
|
||||||
|
scheme: https
|
||||||
path:
|
path:
|
||||||
type: ReplaceFullPath
|
type: ReplaceFullPath
|
||||||
replaceFullPath: /services/studio/forgejo/
|
replaceFullPath: /services/studio/forgejo/
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,21 @@ spec:
|
||||||
rules:
|
rules:
|
||||||
- matches:
|
- matches:
|
||||||
- path:
|
- path:
|
||||||
type: PathPrefix
|
type: Exact
|
||||||
value: /services/studio/openproject
|
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:
|
backendRefs:
|
||||||
- name: openproject
|
- name: openproject
|
||||||
port: 8080
|
port: 8080
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ spec:
|
||||||
filters:
|
filters:
|
||||||
- type: RequestRedirect
|
- type: RequestRedirect
|
||||||
requestRedirect:
|
requestRedirect:
|
||||||
|
scheme: https
|
||||||
path:
|
path:
|
||||||
type: ReplaceFullPath
|
type: ReplaceFullPath
|
||||||
replaceFullPath: /services/studio/pgadmin/
|
replaceFullPath: /services/studio/pgadmin/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue