28 lines
533 B
YAML
28 lines
533 B
YAML
---
|
|
apiVersion: cert-manager.io/v1
|
|
kind: Certificate
|
|
metadata:
|
|
name: m4n5.online-secret
|
|
spec:
|
|
secretName: m4n5.online-secret
|
|
issuerRef:
|
|
name: cloudflare-issuer
|
|
kind: ClusterIssuer
|
|
dnsNames:
|
|
- m4n5.online
|
|
- www.m4n5.online
|
|
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: nginx-testing-ingressroute
|
|
spec:
|
|
routes:
|
|
- match: Host(`m4n5.online`) || Host(`www.m4n5.online`)
|
|
kind: Rule
|
|
services:
|
|
- name: nginx-testing
|
|
port: web
|
|
tls:
|
|
secretName: m4n5.online-secret
|