proxy pass redirection
- by zam
I am struggling with a redirection rule. I am now running my Redmine in webrick in port 3000 and proxy-pass it. The URL of my Redmine is xyz.example.com.
I also want to redirect the Redmine using the URL: abc.example.com. I added the server alias but no redirection taking place.
Here is my configuration:
<VirtualHost *:80>
ServerName xyz.example.com
ServerAlias abc.examle.com
ProxyPass / h://local:3000/
ProxyPassReverse / h://local:3000/
</VirtualHost>