Skip to content

Commit a46a6b6

Browse files
committed
Owlcorp privacy redirect
1 parent 2f99e8c commit a46a6b6

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: gateway.networking.k8s.io/v1
2+
kind: HTTPRoute
3+
metadata:
4+
name: owlcorp-privacy-redirect-pythondiscord-com
5+
namespace: nginx-gateway
6+
spec:
7+
hostnames:
8+
- privacy.owlcorp.uk
9+
parentRefs:
10+
- name: nginx
11+
namespace: nginx-gateway
12+
rules:
13+
- filters:
14+
- type: ExtensionRef
15+
extensionRef:
16+
group: gateway.nginx.org
17+
kind: SnippetsFilter
18+
name: enforce-mtls
19+
- type: RequestRedirect
20+
requestRedirect:
21+
scheme: https
22+
hostname: github.com
23+
path:
24+
type: ReplaceFullPath
25+
replaceFullPath: /owl-corp/owl-corp/blob/main/PRIVACY.md
26+
statusCode: 302

0 commit comments

Comments
 (0)