Closed jmta closed 1 year ago
I've solved this issue, needed a bit more digging. Issue was in the traefik config.
I've added ` - "traefik.http.routers.recipes.middlewares=tandoorMiddleware"
This was the issue that helped me solve this: https://github.com/TandoorRecipes/recipes/issues/266
Issue
I'm serving Tandoor through Traefik, with a PathPrefix of '/recipes'.
I'm currently trying to add recipes, both new and from an old import, when doing with I get a 'There was an error creating a resource.
Looking through the developer console, on firefox I see a 404 not found error attempting to access 'https://{MyDomain}/api/recipes' which doesn't exist as traefik is only forwarding 'https://{MyDomain}/recipes' to tandoor.
I have the 'SCRIPT_NAME=/recipes' value set in my env variables so unsure if there is maybe somewhere/something else I need to be setting
Tandoor Version
1.4.12
OS Version
Ubuntu 22.04
Setup
Docker / Docker-Compose
Reverse Proxy
Traefik
Other
May also be worth mentioning clicking the tandoor logo in the top left takes me to {MyDomain} not {MyDomain}/recipes
Environment file
Docker-Compose file
Relevant logs