I've created this IngressRoute
:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: traefik-graylog
spec:
entryPoints:
- web
routes:
- kind: Rule
match: Host(`graylog.localhost`)
services:
- name: graylog-web
port: 9000
I'm able to reach it:
$ curl -I graylog.localhost
HTTP/1.1 200 OK
Nevertheless, this web is trying to get access to _/api
, and it's getting me:
We are experiencing problems connecting to the Graylog server running on http://graylog.localhost/api/. Please verify that the server is healthy and working correctly.
As you can see, it's telling it's not able to reach _/api
, where _
is graylog.localhost
.
I guess I need to modify my IngressRoute
but I don't quite figure out what I need to change.
I've tried to cahnge rule
:
routes:
kind: Rule
match: Host(`graylog.localhost`) && PathPrefix(`/*`)
However, then I'm not able to reach root:
curl graylog.localhost
404 page not found
Any ideas?