0

I had an apache virtualhost config that redirects "http://host.domain.com/~userdir" to another host:

RewriteRule ^/~(.+) http://anotherhost.domain.com/~$1 [R,L]

But I'm having trouble to migrate this config to Nginx. Anyone could help me please?

2
  • 1
    Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers
    – djdomi
    Mar 29 at 19:13
  • Welcome to ServerFault. What have you tried so far? Mar 30 at 16:24

0

You must log in to answer this question.

Browse other questions tagged .