Created
June 2, 2015 14:01
-
-
Save pjbriggs/fd092c9f90496b068ae4 to your computer and use it in GitHub Desktop.
Fragment of nginx conf for exposing Galaxy reports including authentication
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
... | |
location ^~ /reports/ { | |
proxy_pass http://reports; | |
proxy_set_header X-Forwarded-Host $host; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
auth_basic "Restricted"; | |
auth_basic_user_file /etc/nginx/galaxy-reports.htpasswd; | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment