google / google/neuroglancer

Running neuroglancer behind nginx with another server

Open
#501 6 comments 0 reactions 0 assignees View on GitHub
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
Screenshot 2023-11-02 at 10 20 11 PM

and it is just a white screen. Is it possible to proxy to neuroglancer along with another server?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.