Created
June 2, 2015 13:54
-
-
Save pjbriggs/7ac6efd7bea448691449 to your computer and use it in GitHub Desktop.
Fragment of nginx conf file for exposing Galaxy report tool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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