Skip to content

Commit

Permalink
Doc fixes
Browse files Browse the repository at this point in the history
Co-Authored-By: porueesq <[email protected]>
  • Loading branch information
eloycoto and porueesq committed May 7, 2020
1 parent 1405589 commit 1c7747d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Added

- Added upstream MTLS policy [THREESCALE-672](https://issues.jboss.org/browse/THREESCALE-672) [PR #1182](https://github.com/3scale/APIcast/pull/1182)
- Added upstream Mutual TLS policy [THREESCALE-672](https://issues.jboss.org/browse/THREESCALE-672) [PR #1182](https://github.com/3scale/APIcast/pull/1182)
- Added Rate-limit headers policy [THREESCALE-3795](https://issues.jboss.org/browse/THREESCALE-3795) [PR #1166](https://github.com/3scale/APIcast/pull/1166)
- Added Content-caching policy [THREESCALE-2894](https://issues.jboss.org/browse/THREESCALE-2894) [PR #1182](https://github.com/3scale/APIcast/pull/1182)

Expand Down
4 changes: 2 additions & 2 deletions doc/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ It can be used to first load policies from a development directory or to load ex

The path to the key of the client SSL certificate.

This parameter can be override by the Upstream_TLS policy.
This parameter can be overridden by the Upstream_TLS policy.

### `APICAST_PROXY_HTTPS_CERTIFICATE`

Expand All @@ -177,7 +177,7 @@ The path to the client SSL certificate that APIcast will use when connecting
with the upstream. Notice that this certificate will be used for all the
services in the configuration.

This parameter can be override by the Upstream_TLS policy.
This parameter can be overridden by the Upstream_TLS policy.

### `APICAST_PROXY_HTTPS_PASSWORD_FILE`

Expand Down
10 changes: 5 additions & 5 deletions gateway/src/apicast/policy/upstream_mtls/Readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Upstream MTLs policy.
# Upstream Mutual TLS policy

This policy enables the MTLS policy per service, so connection to the upstream
This policy enables the Mutual TLS policy per API, so connection to the upstream
API will use the certificates defined in this policy.

## Configuration
Expand Down Expand Up @@ -39,6 +39,6 @@ When using http forms and file upload

## Additional considerations

This policy will overwrite `APICAST_PROXY_HTTPS_CERTIFICATE_KEY` and
`APICAST_PROXY_HTTPS_CERTIFICATE` values and it'll use the certificates set by
the policy, so those ENV variables will have no effect.
This policy overwrites `APICAST_PROXY_HTTPS_CERTIFICATE_KEY` and
`APICAST_PROXY_HTTPS_CERTIFICATE` values and it uses the certificates set by
the policy, so those environment variables will have no effect.
2 changes: 1 addition & 1 deletion gateway/src/apicast/policy/upstream_mtls/upstream_mtls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ end
function _M.set_certs(cert, key)
local r = get_request()
if not r then
ngx.log(ngx.ERR, "No valid request")
ngx.log(ngx.ERR, "Invalid request")
return
end

Expand Down

0 comments on commit 1c7747d

Please sign in to comment.