nginx, thin, and multiple hosts
问题 I am trying to set up multiple domains on my server running nginx + thin. For example, I would like www.domain1.com and www.domain2.com to go to different apps with different root paths to their respective apps. If you are familiar with nginx, I have posted my nginx.conf file at the bottom of this post. I was thinking I could just try having multiple server blocks, but then I ran into a problem where the server would default to choosing a random thin port and both domains went to the same app