Support base URL prefix via BASE_PATH #164
GitBib
started this conversation in
Ideas & Feature requests
Replies: 1 comment
-
|
Thank you for the feature request. While it’s not requested often, I do see it as a potential option and will investigate. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Lingarr currently assumes it’s served from /. When deployed behind a reverse proxy under a subpath (e.g., /lingarr), absolute paths for static assets and the API break, redirects drop the prefix, and cookies are set without the correct Path.
Please add a single config parameter BASE_PATH (default /) that prefixes all application requests (API and static) and adjusts HTTP Location headers and cookie.Path accordingly. Acceptance: with any BASE_PATH, the app works entirely under /<BASE_PATH>/… without escaping to /; with BASE_PATH="/", behavior remains unchanged.
Beta Was this translation helpful? Give feedback.
All reactions