Newer
Older
ngx_http_remote_passwd / README
@Andreas Jaggi Andreas Jaggi on 7 Aug 2011 1 KB Initial import
  1. Name
  2. ngx_http_remote_passwd - Make the Basic Auth password available as $remote_passwd variable
  3.  
  4. Synopsis
  5. # pass password to backend via GET
  6. location /secret {
  7. auth_basic "secret";
  8. auth_basic_user_file /etc/nginx/secret.users;
  9.  
  10. proxy_pass https://my.secret.com/dologin?user=$remote_user&password=$remote_passwd;
  11. }
  12.  
  13. Limitations
  14. Only works for Basic Auth.
  15.  
  16. Report Bugs
  17. Create a ticket on the issue tracking interface of GitHub:
  18. http://github.com/x-way/ngx_http_remote_passwd/issues
  19.  
  20. Source Repository
  21. Available on GitHub:
  22. http://github.com/x-way/ngx_http_remote_passwd
  23.  
  24. Author
  25. Andreas Jaggi <andreas.jaggi@waterwave.ch>
  26.  
  27. Copyright & License
  28. Copyright (c) 2011 Andreas Jaggi
  29.  
  30. This module is licensed under the terms of the BSD license.
  31.  
  32. Redistribution and use in source and binary forms, with or without
  33. modification, are permitted provided that the following conditions are
  34. met:
  35.  
  36. * Redistributions of source code must retain the above copyright
  37. notice, this list of conditions and the following disclaimer.
  38.  
  39. * Redistributions in binary form must reproduce the above copyright
  40. notice, this list of conditions and the following disclaimer in the
  41. documentation and/or other materials provided with the distribution.
  42.  
  43. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  44. IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  45. TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  46. PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  47. HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  48. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
  49. TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  50. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  51. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  52. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  53. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.