/mod_hco

The hco agent

Primary LanguageCApache License 2.0Apache-2.0

LoadModule hco_module modules/mod_hco.so

HcoEngine On|Off (default: Off)
HcoBasePath "/path"
HcoEndPoint "http://end-point"
HcoAuthKey "hello-world"
HcoAuthStrategy allow|pass|deny (optional -default: deny)

HcoAuthStrategy:

  • allow → skip authorization (hits the app code)
  • pass → perform authorization and add X-HcoAuthResponse header (hits the app code)
  • deny → perform authorization and forward the upstream response in case of failure (won’t hit app code)