Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 722 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 722 Bytes

Installation

ssh [email protected] 'mkdir -p /opt/jwt-auth/'
scp jwt-authd [email protected]:/etc/init.d/
scp -r app.py jwt/ [email protected]:/opt/jwt-auth/
scp jwt-auth.locations [email protected]:/etc/nginx/conf.d/
ssh [email protected] 'opkg install python3-flask'
ssh [email protected] 'opkg install python3-ubus'
ssh [email protected] 'opkg install python3-cryptography'
ssh [email protected] 'service jwt-authd enable'
ssh [email protected] 'service jwt-authd start'
ssh [email protected] 'service nginx restart'