node.js - NodeJS + NGINX securing image files -


i configured nginx nodejs , it's working reverse proxy, after put authentication (username, password) in nginx protect photos outside, how can make request access photos? mean request need create authenticate input username , password? (with nginx)

ps: saw nice use jwt i'm afraid install openresty , lost previous configuration of nginx.

what better? configure jwt or try authenticate user , pass in nginx?


Comments