Created
May 29, 2013 08:27
-
-
Save sashich/5668782 to your computer and use it in GitHub Desktop.
Basic auth for upstream
This file contains 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
auth_basic "development"; | |
# An arbitrary name for the authentication realm; | |
auth_basic_user_file /etc/nginx/.htpasswd; | |
# Path to an Apache htpasswd file; | |
proxy_set_header Authorization ""; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment