Browse Source

Old golinks now listens to gogo

Breandan Dezendorf 2 năm trước cách đây
mục cha
commit
24cb6615b2
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      dezendorf/homelab/k3s/golinks/golinks.yaml

+ 5 - 5
dezendorf/homelab/k3s/golinks/golinks.yaml

@@ -66,7 +66,7 @@ spec:
   entryPoints:
     - web
   routes:
-  - match: (Host(`go`)||Host(`go.dezendorf.net`)) && PathPrefix(`/_`)
+  - match: (Host(`gogo`)||Host(`gogo.dezendorf.net`)) && PathPrefix(`/_`)
     kind: Rule
     priority: 20
     middlewares:
@@ -75,7 +75,7 @@ spec:
     - name: golink
       port: 80
 
-  - match: Host(`go.dezendorf.net`)||Host(`go`)
+  - match: Host(`gogo.dezendorf.net`)||Host(`gogo`)
     priority: 10
     kind: Rule
     services:
@@ -92,7 +92,7 @@ spec:
   entryPoints:
     - websecure
   routes:
-  - match: Host(`go.dezendorf.net`)
+  - match: Host(`gogo.dezendorf.net`)
     kind: Rule
     middlewares:
     - name: authelia
@@ -109,5 +109,5 @@ metadata:
   name: httpsgofqdn
 spec:
   redirectRegex:
-    regex: "^http(s)?://(go(.dezendorf.net)?)/_(.*)$"
-    replacement: "https://go.dezendorf.net/_${4}"
+    regex: "^http(s)?://(gogo(.dezendorf.net)?)/_(.*)$"
+    replacement: "https://gogo.dezendorf.net/_${4}"