fix: correct Traefik rule syntax for local IngressRoutes
Move parentheses outside Host() calls so that || and && operators are properly grouped in Traefik rule expressions.
This commit is contained in:
@@ -38,7 +38,7 @@ spec:
|
||||
services:
|
||||
- name: gitea-service
|
||||
port: 3000
|
||||
- match: Host((`gcr.workstation.internal`) || Host(`gcr.gigaforust.internal)) && PathPrefix(`/v2`)
|
||||
- match: (Host(`gcr.workstation.internal`) || Host(`gcr.gigaforust.internal`)) && PathPrefix(`/v2`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: gitea-service
|
||||
|
||||
Reference in New Issue
Block a user