sequenceserver
sequenceserver copied to clipboard
Please update the document for nginx reverse proxy
I am running SequenceServer behind the reverse proxy following the document.
However, it did not work, because, after I submitted the job, I was redirected to the URL like "http://mydomain.com/<job-id>", which should be "http://mydomain.com/sequenceserver/<job-id>"
The workaround for this is to set 'SCRIPT_NAME' by modifying the nginx config file as following.
location /sequenceserver/ {
root /home/priyam/sequenceserver/public/dist;
proxy_pass http://localhost:4567/;
proxy_intercept_errors on;
proxy_connect_timeout 8;
proxy_read_timeout 180;
proxy_set_header X-Script-Name /sequenceserver;
}
Could you please update the document?
Might be relevant to #464