浏览代码

adding alt dns for photos

Breandan Dezendorf 2 年之前
父节点
当前提交
82443e82b0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      dezendorf/homelab/k3s/photoprism/ingress.yaml

+ 2 - 2
dezendorf/homelab/k3s/photoprism/ingress.yaml

@@ -8,7 +8,7 @@ spec:
   entryPoints:
     - web
   routes:
-  - match: Host(`photo.dezendorf.net`)
+  - match: (Host(`photo.dezendorf.net`)||Host(`photor.dezendorf.net`))
     kind: Rule
     middlewares:
     - name: redirecthttps
@@ -25,7 +25,7 @@ spec:
   entryPoints:
     - websecure
   routes:
-  - match: Host(`photo.dezendorf.net`)
+  - match: (Host(`photo.dezendorf.net`)||Host(`photor.dezendorf.net`))
     kind: Rule
     services:
     - name: photoprism-service