Changeset - 6c42f94f0285
[Not reviewed]
default
0 0 1
drewp@bigasterisk.com - 2 years ago 2022-12-25 19:30:13
drewp@bigasterisk.com
static site
1 file changed with 19 insertions and 0 deletions:
0 comments (0 inline, 0 general)
ingress-static.yaml
Show inline comments
 
new file 100644
 
apiVersion: networking.k8s.io/v1
 
kind: Ingress
 
metadata:
 
  name: static
 
  annotations:
 
    cert-manager.io/issuer: letsencrypt-prod
 
    ingress.pomerium.io/allow_public_unauthenticated_access: "true"
 
    ingress.pomerium.io/pass_identity_headers: "true"
 
    ingress.pomerium.io/preserve_host_header: "true"
 
spec:
 
  ingressClassName: pomerium
 
  rules:
 
    - host: "williamperttula.com"
 
      http:
 
        paths:
 
          - { pathType: Prefix, path: /, backend: { service: { name: nginx, port: { number: 11444 } } } }
 
  tls:
 
    - hosts: [williamperttula.com]
 
      secretName: williamperttula.com-tls
0 comments (0 inline, 0 general)