|
@@ -461,4 +461,37 @@ spec:
|
|
port:
|
|
port:
|
|
number: 8000
|
|
number: 8000
|
|
ingressClassName: nginx
|
|
ingressClassName: nginx
|
|
|
|
+---
|
|
|
|
+apiVersion: networking.k8s.io/v1
|
|
|
|
+kind: Ingress
|
|
|
|
+metadata:
|
|
|
|
+ name: photoprism-ingress
|
|
|
|
+ namespace: photoprism
|
|
|
|
+ annotations:
|
|
|
|
+ cert-manager.io/cluster-issuer: "letsencrypt"
|
|
|
|
+ acme.cert-manager.io/http01-edit-in-place: "true"
|
|
|
|
+ nginx.org/client-max-body-size: "500m"
|
|
|
|
+ nginx.org/proxy-connect-timeout: "60s"
|
|
|
|
+ nginx.org/proxy-read-timeout: "60s"
|
|
|
|
+ # Uncomment to allow solving HTTP01 challenge
|
|
|
|
+ nginx.org/hsts: "false"
|
|
|
|
+ ingress.kubernetes.io/ssl-redirect: "false"
|
|
|
|
+ nginx.org/redirect-to-https: "false"
|
|
|
|
+spec:
|
|
|
|
+ tls:
|
|
|
|
+ - hosts:
|
|
|
|
+ - pics.dodges.it
|
|
|
|
+ secretName: photoprism-le-secret
|
|
|
|
+ rules:
|
|
|
|
+ - host: pics.dodges.it
|
|
|
|
+ http:
|
|
|
|
+ paths:
|
|
|
|
+ - path: /
|
|
|
|
+ pathType: Prefix
|
|
|
|
+ backend:
|
|
|
|
+ service:
|
|
|
|
+ name: photoprism
|
|
|
|
+ port:
|
|
|
|
+ number: 2342
|
|
|
|
+ ingressClassName: nginx
|
|
|
|
|