phntxx/dashboard

Outside access via nginx reverse proxy

Totil-a opened this issue · 1 comments

Hi there,

I was wondering: is it possible to reach the dashboard from the outside mydomain.org/dashboard via a reverse proxy?

This is what I have as nginx config but it results in an empty page. Local access works as expected though. Not sure what is missing.

`location /dashboard/ {
proxy_pass http://internalIP:8080/$request_uri;
proxy_set_header Host $host;
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;
proxy_redirect off;

proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_buffering off;
}
`

Many thanks for a reply in advance.

T

There is a workaround for the white page in #63 (comment), which worked for some in the past and present.