DejaVu container not working behind reverse proxy
wledder opened this issue · comments
Describe the bug
I'm trying to get the DejaVu docker container to run behind a reverse proxy (nginx). I configured nginx to route requests beginning with the root context '/dejavu/' to the dejavu container.
Enter "/dejavu" into a web browser and the dejavu main page tries to load, but I get a blank page. Digging into logs and debug, the issue appears to be that the pages DejaVu generates assume that all accesses are at the root "/" context and so all includes / hrefs / etc, links in the generated pages are relative to "/" rather than under "/dejavu/". Evidence provided in a screen shot.
I can't figure out how to pass in a context other "/" so that the accesses are at the "/dejavu/" context
Dejavu Version
3.6.0 running as a Docker Image
To Reproduce
Not really applicable here
Expected behavior
Expect to see, instead of what's in the snapshot, "https:///dejavu/common.94c38b44.css" for instance; and for the main DejuaVu web page to render correctly
Desktop (please complete the following information):
- OS: Browser on Windows, docker network running on linux RHEL7 VM
- Chrome
- Version 117.0.5938.63
Additional context
N/A