Skip to main content
Asked a question recently

How do I configure nginx proxy to Galaxy?

Where am I?

In Bright Computing, Inc. you can ask and answer questions and share your experience with others!


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

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

# grep SSL /etc/nginx/nginx.conf


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.