Difference between revisions of "Design Specs: GBrowse Integration"
From WormBaseWiki
Jump to navigationJump to search (Created page with '1. use the front proxy (nginx) to pass requests from /gb2 to the gbrowse server. On dev, I have location /gb2 { proxy_pass http://localhost:9005; } location /gbrowse…') |
|||
Line 1: | Line 1: | ||
1. use the front proxy (nginx) to pass requests from /gb2 to the gbrowse server. | 1. use the front proxy (nginx) to pass requests from /gb2 to the gbrowse server. | ||
On dev, I have | On dev, I have | ||
+ | <pre> | ||
location /gb2 { | location /gb2 { | ||
proxy_pass http://localhost:9005; | proxy_pass http://localhost:9005; | ||
Line 11: | Line 12: | ||
alias /usr/local/wormbase/website/staging/extlib/gbrowse2/current/html/; | alias /usr/local/wormbase/website/staging/extlib/gbrowse2/current/html/; | ||
} | } | ||
+ | </pre> |
Revision as of 17:54, 27 January 2011
1. use the front proxy (nginx) to pass requests from /gb2 to the gbrowse server.
On dev, I have
location /gb2 { proxy_pass http://localhost:9005; } location /gbrowse2/i/ { alias /usr/local/wormbase/website/staging/extlib/gbrowse2/current/tmp/images/; } location /gbrowse2/ { alias /usr/local/wormbase/website/staging/extlib/gbrowse2/current/html/; }