Skip to content

Commit

Permalink
Merge pull request #1081 from eloycoto/LiquidTemplating
Browse files Browse the repository at this point in the history
Liquid: extended variables to liquid templating.
  • Loading branch information
davidor authored Jun 28, 2019
2 parents 981de2f + 85e8799 commit bcdbf21
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Added

- Extended variables in Liquid template operations [PR #1081](https://github.com/3scale/APIcast/pull/1081)

## [3.6.0-beta1] - 2019-06-18

### Added
Expand Down
4 changes: 4 additions & 0 deletions gateway/src/apicast/policy/ngx_variable.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ local function context_values()
uri = ngx.var.uri,
host = ngx.var.host,
remote_addr = ngx.var.remote_addr,
remote_port = ngx.var.remote_port,
scheme = ngx.var.scheme,
server_addr = ngx.var.server_addr,
server_port = ngx.var.server_port,
headers = ngx.req.get_headers(),
http_method = ngx.req.get_method(),
}
Expand Down

0 comments on commit bcdbf21

Please sign in to comment.