DSS behind Reversy Proxy with Subdirectory

Juergen
Level 2
DSS behind Reversy Proxy with Subdirectory

Hi everyone,

 

I am trying to configure DSS to be accessed behind Nginx as a reverse proxy. Structure is as following:

 

First a server block rerouting from port 80 to https.

Then the default server listening to 443 with multiple subdirectories configured. For DSS I basically use the configuration from the manual, just added the /dss to the location:

location /dss/ {
# Base url of the Data Science Studio installation
proxy_pass http://localhost:PORT/;
proxy_redirect off;
# Allow long queries
proxy_read_timeout 3600;
proxy_send_timeout 600;
# Allow large uploads
client_max_body_size 0;
# Allow protocol upgrade to websocket
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}

This does forward me to a blank white page titled "dataiku", it seems that a number of .js files could not be loaded.

I would be grateful for any pointers on how to solve this.

Best regards,

Jรผrgen

0 Kudos
3 Replies
Alex_Combessie
Dataiker Alumni

Hi,

This is not possible. As indicated in the documentation, DSS does not currently support being remapped to a base URL with a non-empty path prefix (that is, to http://HOST:PORT/PREFIX/ where PREFIX is not empty).

Cheers,

Alex

0 Kudos
Juergen
Level 2
Author

Too bad. Thanks for this quick answer.

Best,

Jรผrgen

0 Kudos
Clรฉment_Stenac

Hi,

It is not possible to put DSS under a subdirectory. If you need to proxy multiple DSS on a same machine, you should use name-based virtualhosting.

0 Kudos