uses openresty lua module to decode JWT from http-header
- base64 encoded the payload
- set the encoded payload data to
X-headers
-
Using Docker
docker build -t nginx-img .docker run -e JWT_SECRET="your_jwt_secret" nginx-img -
Using Binary requires openresty nginx verify the nginx by
which nginxto check the syntax
nginx -p $PWD/ -tnginx -p $PWD/Default PORT
8080