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

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -