-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Feature Request: BASE_URL Support for Speedtest Tracker #1563
Comments
I second this one - it would be brilliant for those of us who expose things behind SSL proxies. |
You should be able to update your |
Thanks @alexjustesen will give this a try shortly and will update this message with the results. Update ![]() Also I did look for something like APP_URL on the docs @ https://docs.linuxserver.io/images/docker-speedtest-tracker/#usage and you can see its not mentioned. Which is why I originally created this as I thought it wasn't supported. Update
I have tried single and even double quotes over the url, didnt help. Strange. Could someone else also test to make sure its not k8s platform, thanks. Update Have also confirmed inside the pod, its set worng.
Are we sure its not being overrdden? Update Confirmed, theres a problem in the code somewhere. Removing the APP_URL completly, I am still seeing the APP_URL being set. I believe your setting this and not accepting if a custom ENV has been set by the end user. Update I have also confirmed its not a k8s issue, I just added to another container and as you can see, its set correctly.
I am 99% certain now that there is a problem in the code and something is overwriting whats been set by the end user. @alexjustesen would you mind taking a look when you get a few minutes, thank you. I don't mind testing anytime, just ping me :) |
Dropping this here for later Alex... https://gist.github.com/rafaucau/8259400871607bfb0826ba7f40b28474 |
This comment may be useful: laravel/framework#51210 (comment) I tested it here, putting it right after the HTTPS check allows me to access the login screen by just going to http://fqdn/subfolder/, but it gives error 405 when I try to log in. :/ |
I (obvisously) won't be able to go through this gist tomorrow but plan to do so in the coming days: |
Feature Request: BASE_URL Support for Speedtest Tracker
Is your feature request related to a problem? Please describe.
Currently, Speedtest Tracker does not support a BASE_URL configuration option. This presents a problem when the app is deployed behind a reverse proxy with a path prefix (e.g.,
/tracker
), as the app does not properly redirect URLs to reflect this setup.Describe the solution you'd like
I would like to see support for a BASE_URL configuration parameter in Speedtest Tracker. This feature would allow administrators to specify a base URL path (e.g.,
/tracker
) where the app is hosted behind a reverse proxy. With this enhancement, all internal app URLs would correctly reflect the base URL, ensuring proper navigation and functionality without manual adjustments.Additional context
Currently, when Speedtest Tracker is accessed through a reverse proxy at a path like
/tracker
, the URLs generated by the app do not account for this prefix. This leads to broken links and incorrect redirections within the application. Adding a BASE_URL setting would mitigate these issues by dynamically adjusting internal URLs based on the configured base path (/tracker
in this example).This feature is crucial for seamless integration of Speedtest Tracker into environments where reverse proxies and URL prefixes are standard practices for security and organizational reasons.
The text was updated successfully, but these errors were encountered: