This might not be possible, but I have a nginx server running with one domain x.com, and I have y.com that's pointing to the same server, but I would like that domain to end up running a rails route. So x.com runs /, and y.com runs x.com/2/ - not a redirection, not a rewrite. How can I set my nginx.conf for this?
Asked
Active
Viewed 200 times