Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please update the document for nginx reverse proxy #607

Open
nigyta opened this issue Jun 14, 2022 · 0 comments
Open

Please update the document for nginx reverse proxy #607

nigyta opened this issue Jun 14, 2022 · 0 comments

Comments

@nigyta
Copy link

nigyta commented Jun 14, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant