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?

  • 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 '23 at 19:13
  • Welcome to ServerFault. What have you tried so far? – Pothi Kalimuthu Mar 30 '23 at 16:24

0 Answers0