Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pjbriggs/7ac6efd7bea448691449 to your computer and use it in GitHub Desktop.
Save pjbriggs/7ac6efd7bea448691449 to your computer and use it in GitHub Desktop.
Fragment of nginx conf file for exposing Galaxy report tool
http {
    ...
    upstream reports {
        server localhost:9001;
    }
    ...
    server {
       ...
        location ^~ /reports/ {
            proxy_pass  http://reports;
            proxy_set_header   X-Forwarded-Host $host;
            proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
        ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment