I have been able to successfully configure traefik to connect with consul catalog and i was able to connect with port forwarding my localhost. Now i want to be able to move to the next step where i can connect from outside (public lb) > traefik service > app.
Currently i am getting a 404 page is not found error, but in the traefik logs, it says 200 (as i pointed to the url path of the health check.
This is my service tags currently for this app:
“traefik.enable=true,traefik.http.routers.demo-web.rule=PathPrefix(”/v1"),traefik.http.routers.demo-web.entrypoints=web,traefik.http.services.demo.loadbalancer.server.port=8080"
Which specific annontation can i use? Is there a tag that is needed to allow an entrypoint from the frontend? I notice when i remove traefik.http.services.demo.loadbalancer.server.port=8080", the demo-web router would disappear from traefik’s dashboard.
Currently, i don’t have a domain and i am only using the ip address.
- this is where i am trying to hit: http://1xx.xx.xx.xx/v1/hello