This PR adds dynamic variable support for the v2 branch of the ngx_aws_auth module. This allows nginx to read in S3 configuration values from nginx variables.
There are various ways to populate these nginx variables - environment variables likely being the most popular. However, that also requires the use of the Lua module.
This PR adds dynamic variable support for the v2 branch of the ngx_aws_auth module. This allows nginx to read in S3 configuration values from nginx variables.
There are various ways to populate these nginx variables - environment variables likely being the most popular. However, that also requires the use of the Lua module.
An example configuration using the Lua module and this PR can be found here: https://github.com/acejam/nginx-s3-proxy/blob/master/default.conf#L11