regex - Nginx configuration equivalent for Apache -


i convert nginx rules work apache :

location ~ ^/video/([a-za-z0-9=\?]+)$ {   rewrite ^/video/(.*)$ /video/ break; } location /video {   ssi on; } location /http-bind {   proxy_pass      http://localhost:5280/http-bind;   proxy_set_header x-forwarded-for $remote_addr;   proxy_set_header host $http_host; } 

after research, have found :

rewritecond %{request_uri} ^/meet/[a-za-z0-9]+$ rewriterule ^/meet/(.*)$ /meet/ [pt] proxypreservehost off  <location "/meet/http-bind">   requestheader set host "localhost"   proxypass http://localhost:5280/http-bind   proxypassreverse http://localhost:5280/http-bind </location> 

but configuration doesn't work well... can me modify configuration ?

thanks


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -