hello, how can i rewrite websocket and https page to different path?
I try this:
rewrite /text { if {>Header} not_has Upgrade to /text2 } proxy /text 127.0.0.1:10000 { without /text websocket }
if rewrite, websocket will not work, but html page work fine.
if not rewrite the websocket will work fine, but html page not work.