Skip to content

[Bug]: Planka >v2.0 https://example.com/planka #1156

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

Open
Raychan87 opened this issue May 28, 2025 · 1 comment
Open

[Bug]: Planka >v2.0 https://example.com/planka #1156

Raychan87 opened this issue May 28, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Raychan87
Copy link

Raychan87 commented May 28, 2025

I hope you can help me, my problem is that with the new Planka v2 version the Nginx config does not work anymore.

I have tested a lot and I assume that it is a bug in the new Planka version 2.0 and higher.

Namely, if the “BASE_URL=http://example.de/planka” is specified in the Docker container, then the links for

http://example.de/assets/*
and
http://example.de/api/*

are not set to http://example.de/planka/assets/*
and
http://example.de/planka/api/*
changed.

However, this works perfectly in Planka v1. Something has changed or there is a new environment ?

Image

@Raychan87 Raychan87 changed the title Nginx Config for Planka v2 with http://example.de/planka Nginx Config for Planka v2 with http://example.de/planka ? May 28, 2025
@Raychan87 Raychan87 changed the title Nginx Config for Planka v2 with http://example.de/planka ? [Bug] Planka >v2.0 https://example.com/planka Jun 2, 2025
@Raychan87 Raychan87 changed the title [Bug] Planka >v2.0 https://example.com/planka [Bug]: Planka >v2.0 https://example.com/planka Jun 2, 2025
@meltyshev
Copy link
Member

Hi! Thanks for reporting this.

In v1, it was possible to set the BASE_URL with a path like /planka, but this feature was removed during the migration to Vite, as it requires a different handling approach - and we haven't had time to implement it properly yet.

I'll try to look into it when I have some time. Alternatively, if someone familiar with it and would like to contribute, a PR to help implement this would be very welcome.

@meltyshev meltyshev added the enhancement New feature or request label Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants