Project

General

Profile

Files » nginx-ghost-ingress.yaml

Christian Orellana, 02/08/2022 10:54 AM

 
1
kind: Ingress
2
apiVersion: networking.k8s.io/v1
3
metadata:
4
  name: ghost-in
5
  namespace: default
6
  annotations:
7
    cert-manager.io/cluster-issuer: letsencrypt-prod
8
spec:
9
  ingressClassName: nginx
10
  rules:
11
    - host: your-domain.uncloud.co
12
      http:
13
        paths:
14
          - path: /
15
            pathType: Prefix
16
            backend:
17
              service:
18
                name: myblog-ghost
19
                port:
20
                  number: 80
21
  tls:
22
    - hosts:
23
      - your-domain.uncloud.co
24
      secretName: ghost-tls
(3-3/3)