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
What about datalens-ui environment parameter in docker-compose.yml file, like ROOT_SERVER_PATH=http://localhost:8080/datalens
I has nginx on host machine, when i add location /datalens with proxy_pass to http://localhost:8080/ i've got page with progress bar and it all what i see
The text was updated successfully, but these errors were encountered:
If I understand your request correctly, you want to serve datalens ui from a subpath, right?
At this point adding support for custom paths would be a big hustle with not very much benefit. We're recommending serving datalens from a different port or a custom domain name, that's pretty easy to configure with nginx or other reverse proxy.
U are right. I need serve datalens ui from subpath, like http://<my_domain>/datalens
Config section in host machine with NGINX, look like:
location /datalens{
proxy_pass http://localhost:port/datalens/;
proxy_redirect off;
}
It remove /datalens from path, and i see in log in container only 1 GET request, with reply 200. Its ok. I dont see POST reqests
But when i ask in browser http://localhost:port, i see GET request and may see POST requests...
Can i switch off NGINX in datalens-ui container and redirect all requests from host NGINX machine to container port 3030 (NodeJS)? How configure host NGINX correct? Like try_files @node, location @node {...} and etc...
DataLens UI itself currently does not support serving from non-root subpaths, even without nginx you will probably encounter various different problems with that.
resure
changed the title
NGINX
Serving datalens ui under subpaths
Feb 16, 2024
Hi!
What about datalens-ui environment parameter in docker-compose.yml file, like ROOT_SERVER_PATH=http://localhost:8080/datalens
I has nginx on host machine, when i add location /datalens with proxy_pass to http://localhost:8080/ i've got page with progress bar and it all what i see
The text was updated successfully, but these errors were encountered: