Skip to content

Annotation Request for Gateway #32

Description

@DrMxrcy

Requesting some Annoations For Specific Apps.


    Nginx.ingress.kubernetes.io/enable-cors: "true"
    nginx.ingress.kubernetes.io/proxy-body-size: 1G
    nginx.ingress.kubernetes.io/rewrite-target: /$2
    nginx.org/websocket-services: immich-server
    

Here's an Example I am working on for Immich

  
kind: Ingress
apiVersion: networking.k8s.io/v1
metadata:
 name: immich-server
 labels:
   app: immich-server
 annotations:
   cert-manager.io/cluster-issuer: letsencrypt
   nginx.ingress.kubernetes.io/enable-cors: "true"
   nginx.ingress.kubernetes.io/proxy-body-size: 1G
   nginx.ingress.kubernetes.io/rewrite-target: /$2
   nginx.org/websocket-services: immich-server
   kubernetes.io/tls-acme: "true"
spec:
 tls:
   - hosts:
       - "{{ APP_URL }}"
 rules:
 - host: "{{ APP_URL }}"
   http:
     paths:
     - backend:
         service:
           name: immich-server
           port:
             name: api-endpoint
       path: /api(/|$)(.*)
       pathType: Prefix

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions