kind: Service apiVersion: v1 metadata: name: nextcloud-external namespace: traefik spec: type: ExternalName externalName: 10.0.50.160 ports: - name: http port: 80 --- apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: nextcloud-external-ingress namespace: traefik annotations: kubernetes.io/ingress.class: traefik-external spec: entryPoints: - websecure routes: - match: Host(`cloud.fascinated.cc`) kind: Rule middlewares: - name: default-headers namespace: traefik - name: compress namespace: traefik services: - name: nextcloud-external port: 80 tls: secretName: fascinated-cc