Untitled

mail@pastecode.io avatar
unknown
plain_text
13 days ago
558 B
1
Indexable
Never
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: example-ingress
  namespace: default
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
    nginx.ingress.kubernetes.io/enable-modsecurity: "true"
    nginx.ingress.kubernetes.io/enable-owasp-modsecurity-crs: "true"
spec:
  ingressClassName: nginx
  rules:
  - host: juice-app.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: juice-balancer
            port:
              number: 3000
Leave a Comment