ingress.yaml 719 B

12345678910111213141516171819202122232425262728293031323334
  1. ---
  2. apiVersion: traefik.containo.us/v1alpha1
  3. kind: IngressRoute
  4. metadata:
  5. name: photos-ingress-route
  6. namespace: photoprism
  7. spec:
  8. entryPoints:
  9. - web
  10. routes:
  11. - match: (Host(`photo.dezendorf.net`)||Host(`photos.dezendorf.net`))
  12. kind: Rule
  13. middlewares:
  14. - name: redirecthttps
  15. services:
  16. - name: photoprism-service
  17. port: 2342
  18. ---
  19. apiVersion: traefik.containo.us/v1alpha1
  20. kind: IngressRoute
  21. metadata:
  22. name: photos-websecure-route
  23. namespace: photoprism
  24. spec:
  25. entryPoints:
  26. - websecure
  27. routes:
  28. - match: (Host(`photo.dezendorf.net`)||Host(`photos.dezendorf.net`))
  29. kind: Rule
  30. services:
  31. - name: photoprism-service
  32. port: 2342
  33. tls:
  34. certResolver: myresolver