Categories

ID #1294

How do I configure nginx proxy to Galaxy?

 

The following link shows the configuration page for Galaxy and nginx:

 

https://wiki.galaxyproject.org/Admin/Config/nginxProxy

 

The following proxy rule should be added to the nginx.conf file:

 

# grep SSL /etc/nginx/nginx.conf

SSL

 

 

If the Galaxy is placed behind a proxy address that uses SSL (e.g. https:// URLs), then the following needs to be set in the nginx configurations:

 

location / {

proxy_set_header X-URL-SCHEME https;

}

 

Setting X-URL-SCHEME makes Galaxy aware of what type of URL it should generate for external sites like Biomart. This should be added to the existing location / { } block and if Galaxy is being served from a subdirectory, then the localion should be adjusted accordingly.

Tags: -

Related entries:

You cannot comment on this entry