-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Webassets are not loaded when X-Script-Name is set #251
Comments
I had the same issue. Came here to ask for more attention to this issue. But then I noticed a typo in my config. In any case, to fix this issue you also need to strip the labels:
- "traefik.http.middlewares.octoprint-headers.headers.customrequestheaders.X-Script-Name=/octoprint"
- "traefik.http.middlewares.octoprint-headers.headers.customrequestheaders.X-Scheme=https"
- "traefik.http.middlewares.octoprint-strip-prefix.stripprefix.prefixes=/octoprint"
- "traefik.http.routers.octoprint.middlewares=octoprint-headers,octoprint-strip-prefix" |
I have the same bug when I try to use it with the Path Prefix, is there a solution for it yet? |
Try:
|
Describe the bug
Webassets are not loaed, when a custom path through
X-Script-Name
is set.Container Details
My compose file looks like:
To Reproduce
Navigate to http://SERVER/octoprint/. The page won't load. File from
static/webassets
report 404.Screenshots
The text was updated successfully, but these errors were encountered: