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 nginx
to check the syntax
nginx -p $PWD/ -t
nginx -p $PWD/
Default PORT
8080