浏览代码

Update gopy traefik rules

Breandan Dezendorf 1 年之前
父节点
当前提交
99b92eef53
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      dezendorf/homelab/k3s/gopy/gopy.yaml

+ 6 - 6
dezendorf/homelab/k3s/gopy/gopy.yaml

@@ -44,35 +44,35 @@ spec:
   entryPoints:
     - web
   routes:
-  - match: (Host(`go`)||Host(`go.dezendorf.net`)||Host(`go`)||Host(`gor.dezendorf.net`)) && Path(`/{end:$}`)
+  - match: (Host(`go`)||Host(`go.dezendorf.net`)) && Path(`/list`)
     kind: Rule
     middlewares:
       - name: gopyhttpsgofqdn
     services:
     - name: gopy
       port: 5000
-  - match: ((Host(`go`)||Host(`go.dezendorf.net`)||Host(`go`)||Host(`gor.dezendorf.net`))) && Path(`/{url:.*}/edit`)
+  - match: ((Host(`go`)||Host(`go.dezendorf.net`))) && Path(`/{url:.*}/edit`)
     kind: Rule
     middlewares:
       - name: gopyhttpsgofqdn
     services:
     - name: gopy
       port: 5000
-  - match: ((Host(`go`)||Host(`go.dezendorf.net`)||Host(`go`)||Host(`gor.dezendorf.net`))) && Path(`/{url:.*}/add`)
+  - match: ((Host(`go`)||Host(`go.dezendorf.net`))) && Path(`/{url:.*}/add`)
     kind: Rule
     middlewares:
       - name: gopyhttpsgofqdn
     services:
     - name: gopy
       port: 5000
-  - match: ((Host(`go`)||Host(`go.dezendorf.net`)||Host(`go`)||Host(`gor.dezendorf.net`))) && Path(`/{url:.*}/delete`)
+  - match: ((Host(`go`)||Host(`go.dezendorf.net`))) && Path(`/{url:.*}/delete`)
     kind: Rule
     middlewares:
       - name: gopyhttpsgofqdn
     services:
     - name: gopy
       port: 5000
-  - match: ((Host(`go`)||Host(`go.dezendorf.net`)||Host(`go`)||Host(`gor.dezendorf.net`))||Host(`go.dezendorf.com`))
+  - match: ((Host(`go`)||Host(`go.dezendorf.net`))||Host(`go.dezendorf.com`))
     kind: Rule
     services:
     - name: gopy
@@ -87,7 +87,7 @@ spec:
   entryPoints:
     - websecure
   routes:
-  - match: ((Host(`go.dezendorf.net`)||Host(`goyi.dezendorf.net`)||Host(`go.dezendorf.net`)||Host(`goyir.dezendorf.net`)))
+  - match: ((Host(`go.dezendorf.net`)||Host(`go.dezendorf.net`)))
     kind: Rule
     middlewares:
     - name: authelia