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?
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?