Skip to content
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

DejaVu container not working behind reverse proxy #474

Open
wledder opened this issue Sep 19, 2023 · 0 comments
Open

DejaVu container not working behind reverse proxy #474

wledder opened this issue Sep 19, 2023 · 0 comments
Assignees
Labels

Comments

@wledder
Copy link

wledder commented Sep 19, 2023

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

Screenshots
image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants