Hi,  I have a Mojolicious app running on Hypnotoad behind nginx. Nginx has 
configured two subdomains which point to the same hypnotoad server. The 
goal is to render different content in dependency of subdomain in url 
request. In previous version the Apache (with cgi as I remember) was 
setting different value of environment variable for each subdomain. I can't 
do the same on Nginx which is only reverse proxy.

Do you know any solution? Of course I can do some text matching of request 
url domain inside app but I am wondering if it can be done on 
nginx/hypnotoad level.

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

Reply via email to