What is the equivalent value for apache configuration

I need to convert the following nginx rule to an Apache configuration. can someone help me.

location /chat {
   rewrite            /chat(/.+)$ $1 break;
   proxy_pass         http://localhost:8000;
   proxy_set_header   Host $host;
   proxy_set_header   Cookie $http_cookie;
   proxy_buffering    off;
   proxy_send_timeout 310;
}
+3
source share
1 answer

Check out the mod_proxy documentation , I think the directive ProxyPassMatchis of interest.

+1
source

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


All Articles