subdomain server_name help

rkmr.em at gmail.com rkmr.em at gmail.com
Sat Apr 18 20:39:07 MSD 2009


i want to send all requests with a subdomain that contains a particular
string to be sent to a particular backend.

for ex analyzerAA.XX.com and BBanalyzer.XX.com should be selected.

what is the correct way of writing this configuration?
thanks a lot



    server {
        server_name  analyzer.XX.com;
        location / {
            fastcgi_pass backend_analyzer;
        }
    }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090418/5343701d/attachment.html>


More information about the nginx mailing list