Apache Proxy does't work with CryoSPARC v4

EDIT: fixed the NGINX issue, just needed to add some headers:

1  server {
2    listen 80;
3    server_name cryosparc.{hostname};
4 
5    location / {
6      proxy_pass http://localhost:39000;
7    }
8 
9    location /websocket {
10     proxy_pass http://localhost:39000;
11     proxy_http_version 1.1;
12     proxy_set_header Upgrade $http_upgrade;
13     proxy_set_header Connection "Upgrade";
14     proxy_set_header Host $host;
15   }
16 }
2 Likes