You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I only cache some of the requests. I was very surprised to notice (after a couple of hours of unsuccessful tries) that in certain configurations the souin api endpoint is not available. More precise, if a request to /souin-api/souin is not configured to be cached, the api won't respond.
Now, I don't have a sane suggestion. My first instinct would tell me that it would be nice to have the souin-api endpoint liked to the caddy admin port instead. But there are a number of problems with that.
Perhaps the best solution would br to just document that (with a nice example of how to also secure the souin api endpoint from external).
I am using souin as caddy module.
I only cache some of the requests. I was very surprised to notice (after a couple of hours of unsuccessful tries) that in certain configurations the souin api endpoint is not available. More precise, if a request to
/souin-api/souin
is not configured to be cached, the api won't respond.Like in this
Caddyfile
example:Now, I don't have a sane suggestion. My first instinct would tell me that it would be nice to have the souin-api endpoint liked to the caddy admin port instead. But there are a number of problems with that.
Perhaps the best solution would br to just document that (with a nice example of how to also secure the souin api endpoint from external).
Keep up the good work, @darkweak !
The text was updated successfully, but these errors were encountered: