Skip to content

Commit 8758298

Browse files
committed
fix: lower nginx catch-all ingressroute priority to restore /api routing
The nginx catch-all rule (priority 10000) was winning over the api IngressRoute (priority 100), so /api/* requests (except the explicit /api/auth and /api/monitoring overrides) were being routed to the Next.js app and returning 404. Drop the catch-all priority to 50 so the api route wins while keeping the nginx-specific overrides.
1 parent 7c4eec9 commit 8758298

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.kontinuous/env/prod/archive/http.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ spec:
108108
match: Host(`egapro.travail.gouv.fr`)
109109
middlewares:
110110
- name: security-headers-nginx
111-
priority: 10000
111+
priority: 50
112112
services:
113113
- name: nginx
114114
port: 80

0 commit comments

Comments
 (0)