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?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityI 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?