Is it possible to change proxy rules on the performance of reverse apache proxy?

A few questions about reverse proxies and performance.

Will there be an effect on performance if I have too many rules in my reverse proxy?

For example, if I have 200 rules that are similar to the following:

ProxyPass        /website/test/            http://www.example:8080/web/test
ProxyPassReverse /website/test/            http://www.example:8080/web/test

Will there be a performance improvement if I have 100, what will happen if I have 1000?

Will my reverse proxy work better if I use a rewrite rule?

Thanks in advance.

+3
source share
1 answer

, , , . :

  • ProxyPass , probaby PCRE.
  • ProxyPassReverse ( ) 5 .
  • , , 5 ProxyPass 1+ ProxyPassReverse .

, , , . , ,

ProxyPass        /website/test/            http://www.example:8080/web/test
ProxyPass        /website/test2/           http://www.example:8080/web/test2
ProxyPassReverse /website/                 http://www.example:8080/web

ProxyPass ProxyPassReverse, , , .

+2

Source: https://habr.com/ru/post/1773788/


All Articles