apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: gotify namespace: notifications annotations: nginx.ingress.kubernetes.io/proxy-read-timeout: "600" nginx.ingress.kubernetes.io/proxy-send-timeout: "600" # WebSocket support for Gotify client connections nginx.ingress.kubernetes.io/proxy-http-version: "1.1" nginx.ingress.kubernetes.io/configuration-snippet: | proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; spec: ingressClassName: nginx rules: - host: gotify.riotpiao.com http: paths: - path: / pathType: Prefix backend: service: name: gotify port: number: 80