Giter Club home page Giter Club logo

ngx_aws_auth's Introduction

AWS proxy module

Implements proxying of authenticated requests to S3. See nginx_conf_fragment.txt for the nginx directives

Request signing & Amazon Cloudfront Service

If Nginx is behind Amazon's CloudFront CDN service, you need to add this setting :

proxy_set_header x-amz-cf-id "";

right before

proxy_set_header x-amz-date $aws_date;

into nginx.conf in order to clear X-Amz-Cf-Id header before signing the request to Amazon S3 bucket.

More info here :

http://s3.amazonaws.com/doc/s3-developer-guide/RESTAuthentication.html

Credits:

Based on http://nginx.org/pipermail/nginx/2010-February/018583.html and suggestion of moving to variables rather than patching the proxy module.

License

This project uses the same license as ngnix does i.e. the 2 clause BSD / simplified BSD / FreeBSD license

ngx_aws_auth's People

Contributors

anomalizer avatar tarfik avatar npahucki avatar andrea-spoldi avatar grzegorzlyczba avatar

Watchers

Tarsis Azevedo avatar Victor Magalhães avatar Gustavo Barreto Maia avatar Rafael Heringer avatar Rodrigo Ribeiro avatar James Cloos avatar Gabriel avatar Osvaldo Matos-Junior avatar Leonardo Gamas avatar Helielson avatar  avatar  avatar Cristiano Santos avatar João Marins avatar Carlos Martins avatar  avatar Daniel Coelho de Andrade avatar Rogério Silva avatar Felipe Matos Santana avatar Lucas Padilha avatar Rafael Rocha avatar Paula Santos avatar Rafael Melo avatar Humberto Uchiyama Costa avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.