Running neuroglancer behind nginx with another server
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 389
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 3
Description
Hello all i am trying to run 2 servers behind nginx, one is neuroglancer and one is a custom server that we made.
here is the config
`server {
listen 443 ssl;
server_name localhost;
ssl_certificate certs;
ssl_certificate_key keys;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://127.0.0.1:8080;
}
location /neuroglancer/ {
proxy_pass http://127.0.0.1:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
include servers/*;
}
`
the location of /neuroglancer/ does not seem to work,
this is what i get in the console
and it is just a white screen. Is it possible to proxy to neuroglancer along with another server?
Contributor guide
Assessment
This issue has not been assessed yet.