souin on traefik get api souin url
artb1sh opened this issue · comments
Hi all,
I do not know if I use an incorrect configuration or if api souin simply does not work
Dynamic conf:
http-cache:
plugin:
souin:
api:
prometheus: {}
souin:
enable: true
site-front:
labels:
...........
- "traefik.http.routers.site-front.middlewares=http-cache@file"
curl -I https://site-front/
cache-status: Souin; fwd=uri-miss; stored;
curl -I https://site-front/
cache-status: Souin; hit;
curl https://site-front/souin <- API souin
404 n
how get api souin url?
@artb1sh The good url would be https://site-front/souin-api/souin
as described in the documentation.
souin-api
is the basepath for the whole APIs exposed by Souin.
souin
is the souin api basepath itself.
Maybe that's not clear enough in the documentation but I'm writing the website documentation (https://docs.souin.io/docs/configuration/)