Add lua endpoint to handle certificates in dynamic configuration mode

This commit is contained in:
Henry Tran 2018-06-04 13:43:23 -04:00
parent 82bfcb0337
commit 5200a38bd7
4 changed files with 194 additions and 0 deletions

View file

@ -23,6 +23,7 @@ resty \
-I /usr/local/lib/lua \
-I /usr/lib/lua-platform-path/lua/5.1 \
--shdict "configuration_data 5M" \
--shdict "certificate_data 16M" \
--shdict "balancer_ewma 1M" \
--shdict "balancer_ewma_last_touched_at 1M" \
./rootfs/etc/nginx/lua/test/run.lua ${BUSTED_ARGS} ./rootfs/etc/nginx/lua/test/