Subdomain server_name help

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

for ex and should be selected.

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

server {
    location / {
        fastcgi_pass backend_analyzer;

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs