Answer the question
In order to leave comments, you need to log in
Why doesn't nginx process the proxy_pass variable?
Hey All!
There is nginx configured in such a way - to accept and process domains with subdomains. If a request for a subdomain comes in, then a variable is generated in the config. The challenge is to do
...
location /search/ }
proxy_pass http://$subdomain:9200;
}
Answer the question
In order to leave comments, you need to log in
How exactly do you generate a variable? Where does it come from?
Show me that piece.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question