kong-plugin-subdomain-as-header

This is a Kong Plugin that extracts the subdomain from a url and sets it as a header.

$ luarocks install kong-plugin-subdomain-as-header

This is a plugin for the Kong API Gateway.

This plugin is useful in multi-tenant setups where tenants are identified by subdomains eg. <tenant>.bar.com It extracts the subdomain from the host and adds it as a header X-Subdomain

Versions

0.1.0-11 year ago8 downloads

Labels

Manifests