Explorar o código

Update gopy traefik rules

Breandan Dezendorf hai 1 ano
pai
achega
99b92eef53
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  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