Environment variable BASE_URL
has no effect
#1398
Labels
🐛 Bug
[ISSUE] Ticket describing something that isn't working
BASE_URL
has no effect
#1398
Environment
Self-Hosted (Docker)
System
Ubuntu: 22.04 Docker: 24.0.7 Docker Compose: 1.29.2
Version
2.1.1
Describe the problem
The
BASE_URL
environment variable has no effect. I'm attempting to run Dashy at: http://localhost:4000/dashy but while the initial page starts loading it is unable to retrieve resources because the URLs used for CSS and scripts do not contain the sub-directory.My stripped down Docker compose file is as follows:
When access via: http://localhost:4000/ everything works as expected. But If accessed via http://localhost:4000/dashy I get a 404. If I add labels to use Traefik as a reverse proxy I can then reach the page but the page can not load CSS etc.
Apologies If I've missed something obvious. I've read through a good amount of the documentation and read a few bug reports of people trying to do something similar but I've been unable to solve this issue.
Additional info
No response
Please tick the boxes
The text was updated successfully, but these errors were encountered: