RequestHeader set X-Base-Path

hello,

i have this apache vhost entry,


   ServerName company.domain.com
   ServerAlias company-limited.domain.com

     RewriteEngine On
     RewriteRule ^/(.*)
http://localhost:8080/companies/company-limited/$1 [P]
     RequestHeader set X-Base-Path companies/company-limited

    RewriteLogLevel 9
    RewriteLog     "logs/company-limited_rewrite.log"
    ErrorLog       "logs/company-limited_error.log"
    CustomLog "logs/company-limited-access_log" common

what will be the equivalent nginx config file for this?

thank you.

norman

Posted at Nginx Forum: