Your needs could be archived by programing plugin in my opinion. 😉 Best Regards! @ Zhiyuan Ju <https://www.shaoyaoju.org/>
Jerry Wang <valpass...@gmail.com> 于2020年1月17日周五 下午12:42写道: > Hi, > > I have two static websites (HTML and JS only). One for anonymous user and > the other is for authenticated user. > > I am planning to use JWT auth plugin: Can APISIX do reverse proxy > forwarding based on token? As: > > 1. anonymous user access https://mydomianname/ without token (or invalid > token) forwarded to upstream A. > 2. authenticated user access https://mydomianname/ with valid token > forwarded to upsteam B. > > BTW: can APISIX serve static websites without setting up upstream? > > Thanks, > -- > Jerry WANG >