You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The container starts and traefik routes the https://sub.domain.de/pwgen request to the container, but the ui is broken.
Expected behavior
Ui should be the same as browsing to the internal container IP e.g. http://10.200.100.1:5069 which works perfectly.
Screenshots
Desktop (please complete the following information):
OS: Win11
Browser: Firefox 131 / Chrome 129
Would love to use pwgen in my docker enviroment which is handled by traefik as a reverse proxy and handles multiple container as a path instead of subdomains.
The text was updated successfully, but these errors were encountered:
Hey! Thanks for the report. I haven't used traefik myself, so can't really debug this. Are there any console logs or anything from the browser? First thing that pops into my head is some kind of CORS limitation within traefik. I tried this with cloudflare tunnel and it seems to work just fine. Although there seems to be some kinds of issues with previous prs, so I might have to roll back some changes. I'll let you know. I also don't have much time to develop this, but I'll try my best!
Hi @E-J-D, you need to set BASEA_PATH in environmental variables (For example; BASE_PATH=/pwgen) and don't have to add stripprefix or redirectregex, because the app is already aware of the base path(BASEA_PATH).
So, you just have to add PathPrefix in traefik labels like below
NOTE: While setting environmental variable BASE_PATH, make sure end with trailing slash(/) i.e. BASE_PATH: "/pwgen/" otherwise it won't generate the password
Describe the bug
Using pwgen behind a traefik reverse proxy with && PathPrefix(
/pwgen
) function breaks the ui.To Reproduce
Steps to reproduce the behavior:
Use docker compose file
``
The container starts and traefik routes the https://sub.domain.de/pwgen request to the container, but the ui is broken.
Expected behavior
Ui should be the same as browsing to the internal container IP e.g. http://10.200.100.1:5069 which works perfectly.
Screenshots
Desktop (please complete the following information):
Would love to use pwgen in my docker enviroment which is handled by traefik as a reverse proxy and handles multiple container as a path instead of subdomains.
The text was updated successfully, but these errors were encountered: