regex - Nginx forward proxy with # in the url -
so trying forward url contains # , having difficulty. have following in location sections:
location ~* /.%23/evl { proxy_set_header x-forwarded-for $proxy_add_x_forwarded_for; proxy_pass https://foo.com; } location ~* /(?!.%23/evl) { proxy_set_header x-forwarded-for $proxy_add_x_forwarded_for; proxy_pass http://bar.com; }
i
http://example.com/#/evl/* goto foo.com
everything else bar.com
any appreciated.
Comments
Post a Comment