hello,
i have this apache vhost entry,
[code]
<VirtualHost *:80>
ServerName company.domain.com
ServerAlias company-limited.domain.com
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/(.*) http://localhost:8080/companies/company-limited/$1 [P]
RequestHeader set X-Base-Path companies/company-limited
</IfModule>
RewriteLogLevel 9
RewriteLog "logs/company-limited_rewrite.log"
ErrorLog "logs/company-limited_error.log"
CustomLog "logs/company-limited-access_log" common
</VirtualHost>
[/code]
what will be the equivalent nginx config file for this?
thank you.
norman