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

[Bug]: Development UI not working via proxy #951

Open
alexz707 opened this issue Sep 16, 2024 · 0 comments
Open

[Bug]: Development UI not working via proxy #951

alexz707 opened this issue Sep 16, 2024 · 0 comments

Comments

@alexz707
Copy link

When accessing the dev UI via a nginx proxy the dev UI will load but won't work because it does not find the app.js file.
Maybe this is an intended behaviour but I did not find something in the docs.

I use the docker image and my proxy nginx config is:

   location /hub {
        proxy_pass http://mercure/.well-known/mercure;
        proxy_read_timeout 24h;
        proxy_http_version 1.1;
        proxy_set_header Connection "";

        ## Be sure to set USE_FORWARDED_HEADERS=1 to allow the hub to use those headers ##
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Proto $scheme;
    }

When I access the container over an exposed port everything is working. But as soon as I use the proxy path it doesn't find the app.js file.

Bildschirmfoto 2024-09-16 um 10 36 38

Regards
Alex

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

No branches or pull requests

1 participant