ingress-nginx-helm/images/echoheaders
Ryan Hitchman e5d5bda1ca Rewrite echoheaders to use openresty's templating.
This automatically escapes things, and makes the code easier to read.

template.lua was slightly modifed to not escape /, so it is vendored.
2017-06-14 17:54:53 -07:00
..
Dockerfile Rewrite echoheaders to use openresty's templating. 2017-06-14 17:54:53 -07:00
echo-app.yaml Publish echoheader image 2017-05-30 13:51:32 -04:00
Makefile Rewrite echoheaders to use openresty's templating. 2017-06-14 17:54:53 -07:00
nginx.conf Rewrite echoheaders to use openresty's templating. 2017-06-14 17:54:53 -07:00
README.md Publish echoheader image 2017-05-30 13:51:32 -04:00
template.lua Rewrite echoheaders to use openresty's templating. 2017-06-14 17:54:53 -07:00

Echoserver

This is a simple server that responds with the http headers it received.

Image versions >= 1.4 removes the redirect introduced in 1.3. Image versions >= 1.3 redirect requests on :80 with X-Forwarded-Proto: http to :443. Image versions > 1.0 run an nginx server, and implement the echoserver using lua in the nginx config. Image versions <= 1.0 run a python http server instead of nginx, and don't redirect any requests.