Traefik Setup #554
Replies: 2 comments 11 replies
-
I don't mean to hijack this, but I'd like to add that I'm trying to setup on Traefik v2 as well and having a difficult time getting the service accessible at all. My Traefik structure is based on subdirectories, i.e host.domain.com/service/. Issue #385 is tracking a feature to allow specifying subdirectories, but in the meantime, Traefik has the ability to strip a prefix from a request and forward it as if the service was at the root of the path. Adding the above setting to my Labels now lets me get to the index of the service, but all content (mainly scripts) fail to load with a 404 error. My question basically is, does this CORS issue have anything to do with my problem? It doesn't seem to match OP's issue, but seems close to me? |
Beta Was this translation helpful? Give feedback.
-
I see that the documentation has changed for Traefik setup and needing CORS to be turned off for the mobile app to work or it will generate an Unknown Error on login. I have found that the following setup for Traefik will work with CORS enabled.
If this can be confirmed then the Traefik setup documentation can be adjusted.
Beta Was this translation helpful? Give feedback.
All reactions