Hello,

I am hoping one of you can help me with the following Nginx configuration 
issue. When trying to consolidate multiple EC2 instances into a single 
server all requests (regardless of the domain access url) is redirected to 
domain1. Here is the configuration -

   - all Nginx server blocks are a separate Ruby app
   - Wildcard SSL certificate for domain1 & domain2

domain1.com : few dedicated subdomains + 1 catch all application for other 
subdomains. (*Redirects all HTTP to HTTPS)*
domain2.com:  few dedicated subdomain apps + 1 catch all application for 
domain. *(Redirects all HTTP to HTTPS)*
domain3.com: one subdomain HTTP only ruby app

Any domain2/domain3 requests are redirected to domain1 catch all 
application. ATM only domain1 urls work as intended. The specific nginx 
configuration definitions can be seen here -
domain1 - https://gist.github.com/4b765033df24e4737755.git
domain2 - https://gist.github.com/e55f87469b4ad789d771.git 
domain3 - https://gist.github.com/89085045ba98e7a758e1.git

Thanks for your help.

Regards,
Priya




-- 
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
--- 
You received this message because you are subscribed to the Google Groups "SD 
Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to