Forum: NGINX subdomain server_name help

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
(Guest)
on 2009-04-18 20:44
(Received via mailing list)
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;
        }
    }
This topic is locked and can not be replied to.