# openresty_demo **Repository Path**: windspear/openresty_demo ## Basic Information - **Project Name**: openresty_demo - **Description**: No description available - **Primary Language**: Lua - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-09-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1. start `openresty -p `pwd`/ `openresty -p `pwd` -s reload/stop 2. consider using openresty docker image > docker run --rm -idt \ > -v `pwd`/conf/nginx.conf:/nginx.conf \ > -v `pwd`/lua/:/lua/ \ > -p 80:11111 \ > ubergarm/openresty-nginx-jwt 3. test 登录处理 > curl -D a -d 'u=zjladmin&p=12345' 'localhost:9999/gettoken?p=1234' 验证模块 > curl -b a 'localhost:9999/zjl/a'