sequenceserver icon indicating copy to clipboard operation
sequenceserver copied to clipboard

Please update the document for nginx reverse proxy

Open nigyta opened this issue 2 years ago • 0 comments

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

nigyta avatar Jun 14 '22 09:06 nigyta