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:
http://forum.nginx.org/read.php?2,124193,124193#msg-124193

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs